File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -165,22 +165,6 @@ def test_unmanaged_destroyed(self):
165
165
self .test_unmanaged_missing ()
166
166
167
167
168
- # TODO: Remove this next test before release
169
- @pytest .mark .skipif (not hasattr (connection , 'schema_editor' ),
170
- reason = "This Django version does not support SchemaEditor" )
171
- @pytest .mark .django_db
172
- @pytest .mark .django_use_model (model = Unmanaged )
173
- def test_marked_test_not_get_hit ():
174
- """
175
- A failing test like this was originally added to demonstrate that adding
176
- "@pytest.mark.django_use_model(ModelClass)" caused a test not to be
177
- collected. It's left here to demonstrate that it's now being collected
178
- when called with model=ModelClass instead; it should be removed before
179
- the next release.
180
- """
181
- assert "This test failing shows that it is being collected and run" is False
182
-
183
-
184
168
def test_unittest_interaction (django_testdir ):
185
169
"Test that (non-Django) unittests cannot access the DB."
186
170
You can’t perform that action at this time.
0 commit comments