mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
remove test in test_client -- we can't easily assert that files aren't readable by others, on Windows
This commit is contained in:
parent
9b8f415bea
commit
f443f8adbc
@ -38,7 +38,6 @@ class Basic(unittest.TestCase):
|
|||||||
c = client.Client(basedir)
|
c = client.Client(basedir)
|
||||||
secret_file = os.path.join(basedir, "secret")
|
secret_file = os.path.join(basedir, "secret")
|
||||||
self.failUnless(os.path.exists(secret_file))
|
self.failUnless(os.path.exists(secret_file))
|
||||||
self.failUnlessEqual(os.stat(secret_file)[stat.ST_MODE] & 0777, 0600)
|
|
||||||
renew_secret = c.get_renewal_secret()
|
renew_secret = c.get_renewal_secret()
|
||||||
self.failUnless(idlib.b2a(renew_secret))
|
self.failUnless(idlib.b2a(renew_secret))
|
||||||
cancel_secret = c.get_cancel_secret()
|
cancel_secret = c.get_cancel_secret()
|
||||||
|
Loading…
Reference in New Issue
Block a user