Refactored to use cached_asts in Concepts, rather than setting up a value directly
This commit is contained in:
@@ -84,7 +84,7 @@ def test_i_can_eval_module_with_that_references_concepts():
|
||||
context = get_context()
|
||||
context.sheerka.add_in_cache(Concept("foo"))
|
||||
|
||||
parsed = PythonParser().parse(context, "def a(b):\n return b\na(foo)")
|
||||
parsed = PythonParser().parse(context, "def a(b):\n return b\na(c:foo:)")
|
||||
evaluated = PythonEvaluator().eval(context, parsed)
|
||||
|
||||
assert evaluated.status
|
||||
|
||||
Reference in New Issue
Block a user