Commits

Ian Lewis committed cebc318

Fix tests so it runs on python2.5 and Django < 1.3

Comments (0)

Files changed (1)

storages/tests/s3boto.py

             return
         content = ContentFile("I should be gzip'd")
         content = self.storage._compress_content(content)
-        self.assertGreater(len(content.read()), 0)
+        self.assertTrue(len(content.read()) > 0)
 
     def test_storage_open_write(self):
         """