From 15ab2e1140569dc57b55e52388b3f9171a9e49ad Mon Sep 17 00:00:00 2001 From: Noah Jonah Gente <fu2662cw@mi.fu-berlin.de> Date: Sat, 5 Jun 2021 17:44:43 +0200 Subject: [PATCH] Fix black error --- unisportomat/quiz/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unisportomat/quiz/tests.py b/unisportomat/quiz/tests.py index 3904e0c..d35b4ea 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") -- GitLab