summaryrefslogtreecommitdiff
path: root/000.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-03-04 20:16:58 +0200
committerLars Wirzenius <liw@liw.fi>2017-03-04 20:16:58 +0200
commit04caf681daf43f233192b9f45ffc338205b54f4a (patch)
tree70ccfe2fbdf6ee14ec91147d8dbb443827afaa28 /000.yarn
parent3b651fb14c1018d017b7fecd0be9a853094726d2 (diff)
downloadgit.liw.fi-ruleset-tests-04caf681daf43f233192b9f45ffc338205b54f4a.tar.gz
Drop now-unnecessary debugging
Diffstat (limited to '000.yarn')
-rw-r--r--000.yarn11
1 files changed, 1 insertions, 10 deletions
diff --git a/000.yarn b/000.yarn
index f78a27a..75ece1c 100644
--- a/000.yarn
+++ b/000.yarn
@@ -216,7 +216,6 @@ groups, and respositories.
helper.gitano(None, 'user add {} {}@example.com Test {}'.format(username, username, username))
pubkey = helper.ssh_keygen(username)
helper.gitano(None, 'as {} sshkey add default'.format(username), stdin=pubkey)
- print helper.gitano(username, 'whoami')
IMPLEMENTS WHEN admin creates group (\S+)
group = helper.get_next_match()
@@ -240,13 +239,7 @@ groups, and respositories.
repo = helper.get_next_match()
url = helper.repo_ssh_url(repo)
dirname = '{}_{}'.format(user, repo)
-
- print 'user:', user
- print 'repo:', repo
- print 'url:', url
- print helper.gitano(user, 'whoami')
-
- print helper.git_as(user, ['clone', url, dirname])
+ helper.git_as(user, ['clone', url, dirname])
IMPLEMENTS WHEN admin sets (\S+) config (\S+) to (\S+)
repo = helper.get_next_match()
@@ -257,8 +250,6 @@ groups, and respositories.
IMPLEMENTS FINALLY admin removes things that were created
def iter(var, prefix):
items = helper.get_variable(var, [])
- with open('/tmp/yarn.out', 'a') as f:
- f.write('%s: %r\n' % (var, items))
for item in items:
helper.gitano_confirm_with_token(prefix, item)
iter('users', 'user del')