Rename test_joarapi.py => test_legacy_api.py
authorJessica Tallon <jessica@megworld.co.uk>
Wed, 9 Jul 2014 17:01:08 +0000 (18:01 +0100)
committerJessica Tallon <jessica@megworld.co.uk>
Tue, 22 Jul 2014 22:13:16 +0000 (23:13 +0100)
mediagoblin/tests/test_legacy_api.py [moved from mediagoblin/tests/test_joarapi.py with 98% similarity]

similarity index 98%
rename from mediagoblin/tests/test_joarapi.py
rename to mediagoblin/tests/test_legacy_api.py
index 89cf1026ff400424911bf1f88079c6eb1509ab67..4e0cbd8fbdcbf33f693a6667c31d75937a2ff1ca 100644 (file)
@@ -35,7 +35,8 @@ class TestAPI(object):
         self.db = mg_globals.database
 
         self.user_password = u'4cc355_70k3N'
-        self.user = fixture_add_user(u'joapi', self.user_password)
+        self.user = fixture_add_user(u'joapi', self.user_password,
+            privileges=[u'active',u'uploader'])
 
     def login(self, test_app):
         test_app.post(