summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-03-04 17:27:40 +0200
committerLars Wirzenius <liw@liw.fi>2017-03-04 17:27:40 +0200
commitb101b66b0625fca398de1900852c66e154bf214b (patch)
treeb76bd33815f69460ab4856225c80bbdbc351a02b
parent5b4479c0859e67f897061ce29b86206759723b37 (diff)
downloadgit.liw.fi-ruleset-tests-b101b66b0625fca398de1900852c66e154bf214b.tar.gz
Disable the scenrio
-rw-r--r--000.yarn16
1 files changed, 16 insertions, 0 deletions
diff --git a/000.yarn b/000.yarn
index 9e92f94..a726711 100644
--- a/000.yarn
+++ b/000.yarn
@@ -197,7 +197,10 @@ This is going to be a long scenario, but that's just so that we don't
need to re-do the setup. The setup consists of creating test users,
groups, and respositories.
+<!--
+
SCENARIO create users, groups, repositories
+ ASSUMING only the gitano-admin repository exists
WHEN we run gitano whoami
THEN we are in group gitano-admin
@@ -234,6 +237,8 @@ groups, and respositories.
AND we set ops/ansible config writers to ops
AND we set intrawiki config writers to staff
+-->
+
<!--
Now we can start defining use cases.
@@ -273,6 +278,8 @@ Use case: Steven updates internal wiki.
-->
+<!--
+
FINALLY remove user ian
AND remove user olive
AND remove user steven
@@ -292,8 +299,17 @@ Use case: Steven updates internal wiki.
AND remove repository intrawiki
AND remove repository otherproject
+-->
+
# Scenario step implementations
+ IMPLEMENTS ASSUMING only the gitano-admin repository exists
+ output = helper.gitano('ls')
+ print 'ls output:'
+ print output
+ lines = [x for x in output.splitlines() if 'gitano-admin' not in x]
+ helper.assertEqual(lines, [])
+
IMPLEMENTS WHEN we run gitano (.+)
args = helper.get_next_match()
whoami_output = helper.gitano(args)