mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
remove "rm" uses from test suite
This commit is contained in:
parent
6d83b9c1e1
commit
e2fb2d0f4e
@ -140,7 +140,7 @@ class GridTester(object):
|
||||
if f not in oldfiles:
|
||||
raise CommandFailed("um, '%s' was supposed to already be in %s"
|
||||
% (f, dirname))
|
||||
self.cli("rm", absfilename)
|
||||
self.cli("unlink", absfilename)
|
||||
newfiles = self.listdir(dirname)
|
||||
if f in newfiles:
|
||||
raise CommandFailed("failed to remove '%s' from %s" % (f, dirname))
|
||||
|
@ -2227,8 +2227,8 @@ class SystemTest(SystemTestMixin, RunBinTahoeMixin, unittest.TestCase):
|
||||
self.failUnlessEqual(data, "data to be uploaded: file1\n")
|
||||
d.addCallback(_check_outfile1)
|
||||
|
||||
d.addCallback(run, "rm", "tahoe-file0")
|
||||
d.addCallback(run, "rm", "tahoe:file2")
|
||||
d.addCallback(run, "unlink", "tahoe-file0")
|
||||
d.addCallback(run, "unlink", "tahoe:file2")
|
||||
d.addCallback(run, "ls")
|
||||
d.addCallback(_check_ls, [], ["tahoe-file0", "file2"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user