fixed tests
authorRodney Ewing <ewing.rj@gmail.com>
Fri, 14 Jun 2013 01:10:38 +0000 (18:10 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Mon, 26 Aug 2013 13:33:30 +0000 (06:33 -0700)
mediagoblin/tests/test_submission.py
mediagoblin/tests/test_submission/big.png [new file with mode: 0644]

index f6ecd58aaf0697919931dbf6a34272f0c63d2857..e45ed36b71c686b26f1526ab0446935702f1b075 100644 (file)
@@ -212,14 +212,6 @@ class TestSubmission:
         # Shouldn't have uploaded
         assert self.test_user.uploaded == 499
 
-        # Reload user
-        self.test_user = User.query.filter_by(
-            username=self.test_user.username
-        ).first()
-
-        # Shouldn't have uploaded
-        assert self.test_user.uploaded == 499
-
     def check_media(self, request, find_data, count=None):
         media = MediaEntry.query.filter_by(**find_data)
         if count is not None:
diff --git a/mediagoblin/tests/test_submission/big.png b/mediagoblin/tests/test_submission/big.png
new file mode 100644 (file)
index 0000000..a284cfd
Binary files /dev/null and b/mediagoblin/tests/test_submission/big.png differ