summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2009-06-07 07:45:05 +0000
committerrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2009-06-07 07:45:05 +0000
commit46603dde5422913bb65e4448cbce87a2efb67015 (patch)
tree99be91f4a2b25295c781cb189547f4e9bc69d4df
parentd871bc710b6a6295062fc9388b30c192d48196bc (diff)
downloadpyfilesystem-46603dde5422913bb65e4448cbce87a2efb67015.tar.gz
testcases for recent S3FS bugfixes
git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@159 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/tests/test_s3fs.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/tests/test_s3fs.py b/fs/tests/test_s3fs.py
index 49ee51d..c19147a 100644
--- a/fs/tests/test_s3fs.py
+++ b/fs/tests/test_s3fs.py
@@ -18,12 +18,12 @@ from fs import s3fs
class TestS3FS(unittest.TestCase,FSTestCases):
# Disable the tests by default
- __test__ = False
+# __test__ = False
bucket = "test-s3fs.rfk.id.au"
def setUp(self):
- self.fs = s3fs.S3FS(self.bucket,"/unittest/files")
+ self.fs = s3fs.S3FS(self.bucket)
self._clear()
def _clear(self):
@@ -39,3 +39,11 @@ class TestS3FS(unittest.TestCase,FSTestCases):
self.fs._s3bukt.delete_key(k)
self.fs._s3conn.delete_bucket(self.bucket)
+
+
+class TestS3FS_prefix(TestS3FS):
+
+ def setUp(self):
+ self.fs = s3fs.S3FS(self.bucket,"/unittest/files")
+ self._clear()
+