Skip to content

Commit 32b5c5c

Browse files
Jakub Owczarskitimb07
Jakub Owczarski
authored andcommitted
tests marked with django_use_model not executed
1 parent 74011c3 commit 32b5c5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_database.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ def test_unmanaged_destroyed(self):
186186
self.test_unmanaged_missing()
187187

188188

189+
190+
@pytest.mark.django_use_model(Unmanaged)
191+
def test_marked_test_not_get_hit():
192+
assert True is False
193+
194+
189195
def test_unittest_interaction(django_testdir):
190196
"Test that (non-Django) unittests cannot access the DB."
191197

0 commit comments

Comments
 (0)