Enhanced PythonEvaluator to accept concepts
This commit is contained in:
@@ -91,6 +91,10 @@ def test_body_is_evaluated_when_concept_body():
|
||||
|
||||
|
||||
def test_body_is_evaluated_when_concept_body_with_a_body():
|
||||
"""
|
||||
The concept refers to another concept which has a body
|
||||
:return:
|
||||
"""
|
||||
context = get_context()
|
||||
concept_one = Concept(name="one", body="1").init_key()
|
||||
context.sheerka.add_in_cache(concept_one)
|
||||
|
||||
Reference in New Issue
Block a user