Skip to content

Commit

Permalink
adding pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Stagiaire committed Jul 4, 2024
1 parent 80a651c commit 19ce128
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 2 deletions.
2 changes: 1 addition & 1 deletion half_past_five/half_past_five.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __call__(self, cls):
return cls


class BaseHandler(tornado.web.RequestHandler):
class BaseHandler(RequestHandler):

def set_default_headers(self):
self.set_header("Access-Control-Allow-Origin", "*")
Expand Down
75 changes: 74 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ tornado = "^6.4.1"
yt-dlp = "^2024.7.2"


[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 19ce128

Please # to comment.