From e9ad6f7ee633d143fab65d86a68780dc74f5dc58 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Mon, 11 Jul 2011 15:23:25 -0700 Subject: [PATCH] Move test_s3 into s3tests.functional, so it can be split to multiple files nicely. --- README.rst | 2 +- s3tests/__init__.py | 0 AnonymousAuth.py => s3tests/functional/AnonymousAuth.py | 0 s3tests/functional/__init__.py | 0 test_s3.py => s3tests/functional/test_s3.py | 0 utils.py => s3tests/functional/utils.py | 0 6 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 s3tests/__init__.py rename AnonymousAuth.py => s3tests/functional/AnonymousAuth.py (100%) create mode 100644 s3tests/functional/__init__.py rename test_s3.py => s3tests/functional/test_s3.py (100%) rename utils.py => s3tests/functional/utils.py (100%) diff --git a/README.rst b/README.rst index 2a31d5d..4546bd3 100644 --- a/README.rst +++ b/README.rst @@ -73,7 +73,7 @@ Once you have that, you can run the tests with:: You can specify what test(s) to run:: - S3TEST_CONF=your.conf ./virtualenv/bin/nosetests test_s3:test_object_acl_grant_public_read + S3TEST_CONF=your.conf ./virtualenv/bin/nosetests s3tests.functional.test_s3:test_object_acl_grant_public_read Some tests have attributes set based on their current reliability and things like AWS not enforcing their spec stricly. You can filter tests diff --git a/s3tests/__init__.py b/s3tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/AnonymousAuth.py b/s3tests/functional/AnonymousAuth.py similarity index 100% rename from AnonymousAuth.py rename to s3tests/functional/AnonymousAuth.py diff --git a/s3tests/functional/__init__.py b/s3tests/functional/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test_s3.py b/s3tests/functional/test_s3.py similarity index 100% rename from test_s3.py rename to s3tests/functional/test_s3.py diff --git a/utils.py b/s3tests/functional/utils.py similarity index 100% rename from utils.py rename to s3tests/functional/utils.py