Implemented ConceptManager with concept creation, modification and deletion
This commit is contained in:
@@ -93,10 +93,10 @@ class TestAddConceptEvaluator(TestUsingMemoryBasedSheerka):
|
||||
def test_i_cannot_recognize_a_concept_if_one_of_the_prop_is_unknown(self):
|
||||
context = self.get_context()
|
||||
context.protected_hints.add(BuiltinConcepts.EVAL_BODY_REQUESTED)
|
||||
context.sheerka.add_in_cache(Concept(name="one").init_key())
|
||||
concept_plus = context.sheerka.add_in_cache(Concept(name="a plus b")
|
||||
.def_var("a", "one")
|
||||
.def_var("b", "two").init_key())
|
||||
context.sheerka.test_only_add_in_cache(Concept(name="one").init_key())
|
||||
concept_plus = context.sheerka.test_only_add_in_cache(Concept(name="a plus b")
|
||||
.def_var("a", "one")
|
||||
.def_var("b", "two").init_key())
|
||||
|
||||
evaluator = ConceptEvaluator()
|
||||
item = self.pretval(concept_plus)
|
||||
|
||||
Reference in New Issue
Block a user