]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fuse/runtests: remove write small file test, as it's subsumed by the tiny_file test
authorrobk-tahoe <robk-tahoe@allmydata.com>
Fri, 3 Oct 2008 22:39:44 +0000 (15:39 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Fri, 3 Oct 2008 22:39:44 +0000 (15:39 -0700)
contrib/fuse/runtests.py

index ef9db4a51d4238e6fdc3c09ec260237c4ecb6a96..54c12a2e22aa5883d11f7d5b35a90767ebed9632 100644 (file)
@@ -430,25 +430,6 @@ class SystemTest (object):
         body = self.webapi_call('GET', '/uri/%s/%s' % (dircap, path))
         return body
 
-    def test_write_small_file(self, testcap, testdir):
-        name = 'smallfile.txt'
-        body = 'this is a small file'
-
-        try:
-            path = os.path.join(testdir, name)
-            f = file(path, 'w')
-            f.write(body)
-            f.close()
-        except Exception, err:
-            tmpl = 'Could not write file contents at %r: %r'
-            raise TestFailure(tmpl, path, err)
-
-        uploaded_body = self.get_file(testcap, name)
-
-        if uploaded_body != body:
-            tmpl = 'Expected file contents %r but found %r'
-            raise TestFailure(tmpl, body, uploaded_body)
-
     def test_write_tiny_file(self, testcap, testdir):
         self._write_test_linear(testcap, testdir, name='tiny.junk', bs=2**9, sz=2**9)