Commit 2a99d9ee authored by Michal Čihař's avatar Michal Čihař

Fix test expectations

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 897dc530
...@@ -785,7 +785,7 @@ class SourceTest(ModelTestCase): ...@@ -785,7 +785,7 @@ class SourceTest(ModelTestCase):
""" """
Setting of Source check_flags changes checks for related units. Setting of Source check_flags changes checks for related units.
""" """
self.assertEqual(Check.objects.count(), 1) self.assertEqual(Check.objects.count(), 3)
check = Check.objects.all()[0] check = Check.objects.all()[0]
unit = get_related_units(check)[0] unit = get_related_units(check)[0]
source = unit.source_info source = unit.source_info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment