diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-03-04 17:27:40 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-03-04 17:27:40 +0200 |
commit | b101b66b0625fca398de1900852c66e154bf214b (patch) | |
tree | b76bd33815f69460ab4856225c80bbdbc351a02b | |
parent | 5b4479c0859e67f897061ce29b86206759723b37 (diff) | |
download | git.liw.fi-ruleset-tests-b101b66b0625fca398de1900852c66e154bf214b.tar.gz |
Disable the scenrio
-rw-r--r-- | 000.yarn | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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) |