Selaa lähdekoodia

fix renaming of main function

Guénaël Muller 6 vuotta sitten
vanhempi
commit
6941b04657
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      tracim/tests/__init__.py

+ 2 - 2
tracim/tests/__init__.py Näytä tiedosto

17
 from tracim.fixtures.users_and_groups import Base as BaseFixture
17
 from tracim.fixtures.users_and_groups import Base as BaseFixture
18
 from tracim.config import CFG
18
 from tracim.config import CFG
19
 from tracim.extensions import hapic
19
 from tracim.extensions import hapic
20
-from tracim import main
20
+from tracim import web
21
 from webtest import TestApp
21
 from webtest import TestApp
22
 
22
 
23
 
23
 
42
 
42
 
43
         }
43
         }
44
         hapic.reset_context()
44
         hapic.reset_context()
45
-        app = main({}, **settings)
45
+        app = web({}, **settings)
46
         self.init_database(settings)
46
         self.init_database(settings)
47
         self.testapp = TestApp(app)
47
         self.testapp = TestApp(app)
48
 
48