From: Rodney Ewing Date: Fri, 14 Jun 2013 01:10:38 +0000 (-0700) Subject: fixed tests X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2f74de492e293fa5ba82bb65d291ba51834d5d85;p=mediagoblin.git fixed tests --- diff --git a/mediagoblin/tests/test_submission.py b/mediagoblin/tests/test_submission.py index f6ecd58a..e45ed36b 100644 --- a/mediagoblin/tests/test_submission.py +++ b/mediagoblin/tests/test_submission.py @@ -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 index 00000000..a284cfda Binary files /dev/null and b/mediagoblin/tests/test_submission/big.png differ