MCPcopy
hub / github.com/django/django / test_fixtures_loaded

Method test_fixtures_loaded

tests/servers/tests.py:335–340  ·  view source on GitHub ↗

Fixtures are properly loaded and visible to the live server thread.

(self)

Source from the content-addressed store, hash-verified

333
334class LiveServerDatabase(LiveServerBase):
335 def test_fixtures_loaded(self):
336 """
337 Fixtures are properly loaded and visible to the live server thread.
338 """
339 with self.urlopen("/model_view/") as f:
340 self.assertCountEqual(f.read().splitlines(), [b"jane", b"robert"])
341
342 def test_database_writes(self):
343 """

Callers

nothing calls this directly

Calls 2

urlopenMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected