aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ec/test_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ec/test_context.py')
-rw-r--r--test/ec/test_context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ec/test_context.py b/test/ec/test_context.py
index 65053d4..9ad8b52 100644
--- a/test/ec/test_context.py
+++ b/test/ec/test_context.py
@@ -80,7 +80,7 @@ def test_null(mult):
def test_default(mult):
with local(DefaultContext()) as ctx:
result = mult.multiply(59)
- action = ctx.actions.action
+ action = ctx.actions[0].action
assert isinstance(action, ScalarMultiplicationAction)
assert result == action.result