libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r919899 - in /incubator/libcloud/trunk/test: file_fixture.py file_fixtures.py test_file_fixture.py test_file_fixtures.py
Date Sun, 07 Mar 2010 00:51:41 GMT
Author: jerry
Date: Sun Mar  7 00:51:41 2010
New Revision: 919899

URL: http://svn.apache.org/viewvc?rev=919899&view=rev
Log:
Rename FileFixture to FileFixtures

Added:
    incubator/libcloud/trunk/test/file_fixtures.py
      - copied, changed from r919895, incubator/libcloud/trunk/test/file_fixture.py
    incubator/libcloud/trunk/test/test_file_fixtures.py
      - copied, changed from r919895, incubator/libcloud/trunk/test/test_file_fixture.py
Removed:
    incubator/libcloud/trunk/test/file_fixture.py
    incubator/libcloud/trunk/test/test_file_fixture.py

Copied: incubator/libcloud/trunk/test/file_fixtures.py (from r919895, incubator/libcloud/trunk/test/file_fixture.py)
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/file_fixtures.py?p2=incubator/libcloud/trunk/test/file_fixtures.py&p1=incubator/libcloud/trunk/test/file_fixture.py&r1=919895&r2=919899&rev=919899&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/file_fixture.py (original)
+++ incubator/libcloud/trunk/test/file_fixtures.py Sun Mar  7 00:51:41 2010
@@ -19,7 +19,7 @@
 
 FILE_FIXTURE_ROOT = 'test/fixtures'
 
-class FileFixture:
+class FileFixtures:
     def __init__(self, root):
         self.root = os.path.join(FILE_FIXTURE_ROOT, root)
 

Copied: incubator/libcloud/trunk/test/test_file_fixtures.py (from r919895, incubator/libcloud/trunk/test/test_file_fixture.py)
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/test_file_fixtures.py?p2=incubator/libcloud/trunk/test/test_file_fixtures.py&p1=incubator/libcloud/trunk/test/test_file_fixture.py&r1=919895&r2=919899&rev=919899&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/test_file_fixture.py (original)
+++ incubator/libcloud/trunk/test/test_file_fixtures.py Sun Mar  7 00:51:41 2010
@@ -13,19 +13,19 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from file_fixture import FileFixture
+from file_fixtures import FileFixtures
 
 import sys
 import unittest
 
-class FileFixtureTests(unittest.TestCase):
+class FileFixturesTests(unittest.TestCase):
 
     def test_success(self):
-        f = FileFixture('meta')
+        f = FileFixtures('meta')
         self.assertEqual("Hello, World!", f.load('helloworld.txt'))
 
     def test_failure(self):
-        f = FileFixture('meta')
+        f = FileFixtures('meta')
         self.assertRaises(IOError, f.load, 'nil')
 
 if __name__ == '__main__':



Mime
View raw message