Skip to content
Snippets Groups Projects
Commit a276f77c authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

fix tests to assume compound with no action is not validated

FIX #216
parent 55be2eb8
No related branches found
No related tags found
1 merge request!13Master
Pipeline #29293 passed
......@@ -438,7 +438,9 @@ class QueryCompoundViewsAccessTestCase(TestCase):
self.assertEqual(self.c1.is_validated(), False)
self.assertEqual(self.c2.is_validated(), True)
for i in range(1, 21):
self.assertEqual(Compound.objects.get(id=2 + i).is_validated(), True)
# these compounds are considered not validated because
# are not linked to a CompoundAction
self.assertEqual(Compound.objects.get(id=2 + i).is_validated(), False)
def test_lelleplot_filter(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment