From 6867b0a3c083aebcfba6afa5f57452ab4a1d8a2b Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 1 Feb 2016 16:30:58 -0700 Subject: [PATCH] add Bob leaving to smoke-tests --- src/allmydata/test/check_magicfolder_smoke.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/allmydata/test/check_magicfolder_smoke.py b/src/allmydata/test/check_magicfolder_smoke.py index e363938d..05a4dd55 100644 --- a/src/allmydata/test/check_magicfolder_smoke.py +++ b/src/allmydata/test/check_magicfolder_smoke.py @@ -358,6 +358,17 @@ if True: print(" %r not there yet" % (alice_foo,)) time.sleep(1) +if True: + # bob leaves + print 'bob leaves' + data_dir = join(data_base, 'bob') + subprocess.check_call( + [ + python, tahoe_bin, 'magic-folder', 'leave', '--basedir', data_dir, + ] + ) + + # XXX test .backup (delete a file) # port david's clock.advance stuff -- 2.45.2