Browse Source

fix renaming of main function

Guénaël Muller 6 years ago
parent
commit
572341c34c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tracim/tests/__init__.py

+ 2 - 2
tracim/tests/__init__.py View File

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