瀏覽代碼

fix renaming of main function

Guénaël Muller 6 年之前
父節點
當前提交
572341c34c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tracim/tests/__init__.py

+ 2 - 2
tracim/tests/__init__.py 查看文件

@@ -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