]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
add Bob leaving to smoke-tests
authormeejah <meejah@meejah.ca>
Mon, 1 Feb 2016 23:30:58 +0000 (16:30 -0700)
committermeejah <meejah@meejah.ca>
Mon, 8 Feb 2016 17:12:32 +0000 (10:12 -0700)
src/allmydata/test/check_magicfolder_smoke.py

index e363938dad275ba4d014f5500e75951f11875b35..05a4dd55e93703a25a39c4d802653c9c9407fe70 100644 (file)
@@ -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