summaryrefslogtreecommitdiff
path: root/oso.py
diff options
context:
space:
mode:
Diffstat (limited to 'oso.py')
-rw-r--r--oso.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/oso.py b/oso.py
index 2aaee76..0342b06 100644
--- a/oso.py
+++ b/oso.py
@@ -25,4 +25,7 @@ def stop_server(ctx):
def answer_is(ctx, index):
- pass
+ assert_eq = globals()["assert_eq"]
+ runcmd_get_stdout = globals()["runcmd_get_stdout"]
+ stdout = runcmd_get_stdout(ctx)
+ assert_eq(stdout.strip(), index)