diff --git a/unisportomat/quiz/tests.py b/unisportomat/quiz/tests.py index 3904e0cf307db440b4fba5e6a87669f8869e9ee7..d35b4eabfc26a4ac03b81f3eb4af35bc62caa90f 100644 --- a/unisportomat/quiz/tests.py +++ b/unisportomat/quiz/tests.py @@ -196,10 +196,11 @@ class FixturesTest(TestCase): Fixtures can be used to populate the database which test data. They can be used in automated tests, but also in development. """ + fixtures = ["sports.json"] def test_sports_created_by_fixture(self): - """ If the fixture is loaded there exists a sport with the given data. """ + """If the fixture is loaded there exists a sport with the given data.""" sport = Sport.objects.get(pk=1) self.assertEqual(sport.name, "Jiu Jitsu") self.assertEqual(sport.url, "http://www.test.de")