diff kallithea/tests/fixture.py @ 6118:3d1fcf67f299

model: drop BaseModel.cls It no longer serves a purpose.
author Søren Løvborg <sorenl@unity3d.com>
date Wed, 03 Aug 2016 17:01:57 +0200
parents 974d6470cbec
children ee88c8c07111
line wrap: on
line diff
--- a/kallithea/tests/fixture.py	Wed Aug 03 16:51:34 2016 +0200
+++ b/kallithea/tests/fixture.py	Wed Aug 03 17:01:57 2016 +0200
@@ -237,7 +237,7 @@
         form_data = {
             'description': u'new-gist',
             'owner': TEST_USER_ADMIN_LOGIN,
-            'gist_type': GistModel.cls.GIST_PUBLIC,
+            'gist_type': Gist.GIST_PUBLIC,
             'lifetime': -1,
             'gist_mapping': {'filename1.txt':{'content':'hello world'},}
         }