MCPcopy
hub / github.com/django/django / test_reorder_test_bin_no_arguments

Method test_reorder_test_bin_no_arguments

tests/test_runner/tests.py:178–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

176 )
177
178 def test_reorder_test_bin_no_arguments(self):
179 tests = self.make_tests()
180 reordered_tests = reorder_test_bin(tests)
181 self.assertIsInstance(reordered_tests, collections.abc.Iterator)
182 self.assertTestNames(
183 reordered_tests,
184 expected=[
185 "Tests1.test1",
186 "Tests1.test2",
187 "Tests2.test1",
188 "Tests2.test2",
189 ],
190 )
191
192 def test_reorder_test_bin_reverse(self):
193 tests = self.make_tests()

Callers

nothing calls this directly

Calls 3

make_testsMethod · 0.95
assertTestNamesMethod · 0.95
reorder_test_binFunction · 0.90

Tested by

no test coverage detected