Fixed unit test

This commit is contained in:
2020-01-31 20:13:17 +01:00
parent b9afcba61f
commit 78fc046f5a
9 changed files with 88 additions and 27 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ class TestSheerkaSetsManager(TestUsingFileBasedSheerka):
group = Concept("group").init_key()
group.metadata.id = "1001"
assert not sheerka.isagroup(group)
assert not sheerka.isaset(group)
foo = Concept("foo").init_key()
foo.metadata.id = "1002"
@@ -120,5 +120,5 @@ class TestSheerkaSetsManager(TestUsingFileBasedSheerka):
context = self.get_context(sheerka)
sheerka.add_concept_to_set(context, foo, group)
assert sheerka.isagroup(group)
assert sheerka.isaset(group)
assert sheerka.isa(foo, group)