File tree Expand file tree Collapse file tree 5 files changed +24
-0
lines changed
Expand file tree Collapse file tree 5 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ isort :
2+ isort .
3+ style :
4+ flake8 .
5+ types :
6+ mypy .
7+ test :
8+ cd landing_page; pytest .
9+ check :
10+ make isort style types test
Original file line number Diff line number Diff line change 1+ import pytest
2+ from django .test import Client
3+
4+
5+ @pytest .mark .django_db
6+ def test__index__shows_up (client : Client ) -> None :
7+ response = client .get ('/' )
8+ assert response .status_code == 200
Original file line number Diff line number Diff line change 22flake8 == 6.1.0
33mypy == 1.5.0
44isort == 5.12.0
5+ pytest == 7.4.0
6+ pytest-django == 4.5.2
Original file line number Diff line number Diff line change @@ -22,3 +22,7 @@ use_parentheses = true
2222known_first_party = learn_bot
2323line_length = 120
2424multi_line_output = 3
25+
26+
27+ [tool:pytest]
28+ DJANGO_SETTINGS_MODULE = landing_page.settings
You can’t perform that action at this time.
0 commit comments