Skip to content

Commit 4bf7312

Browse files
marks submodule tests as slow.
1 parent 7477bd8 commit 4bf7312

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
addopts = --tb=native
33
markers =
44
slowtest: marks tests as one of slowest (deselect with '-m "not slowtest"')
5-
tasks: marks test as one of realated to tasks
5+
tasks: marks test as one of related to tasks

tests/test_django_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def more_nested_submodule():
226226
subprocess.check_call(["git", "submodule", "update", "--init", "--recursive"])
227227

228228

229+
@pytest.mark.slowtest
229230
class TestFindDjangoFiles:
230231
def test_non_nested(self, fake_home, non_nested_submodule, virtualenvs_folder):
231232
project = DjangoProject("mydomain.com", "python.version")

0 commit comments

Comments
 (0)