Skip to content

Commit e305486

Browse files
Jakub Owczarskitimb07
Jakub Owczarski
authored andcommitted
tests marked with django_use_model not executed
1 parent a0e3450 commit e305486

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_database.py

+6
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ def test_unmanaged_destroyed(self):
163163
self.test_unmanaged_missing()
164164

165165

166+
167+
@pytest.mark.django_use_model(Unmanaged)
168+
def test_marked_test_not_get_hit():
169+
assert True is False
170+
171+
166172
def test_unittest_interaction(django_testdir):
167173
"Test that (non-Django) unittests cannot access the DB."
168174

0 commit comments

Comments
 (0)