diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-10-15 16:03:17 +0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-10-15 16:20:55 +0200 |
commit | 6ac2e7a4c23ef2798ca5b4ad0aa84a5fb7b371f8 (patch) | |
tree | 3c6e4a3e0ee846cac650d8db76f1697c8fbbee68 /service/test/functional/features | |
parent | 87628d040390defc2ae303c77f6811f07d7c15ce (diff) |
moving things out of user_agent. now it is called runserver and only does basic app setup and delegates to other "classes".
Diffstat (limited to 'service/test/functional/features')
-rw-r--r-- | service/test/functional/features/environment.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test/functional/features/environment.py b/service/test/functional/features/environment.py index f65b11a6..86f43d7f 100644 --- a/service/test/functional/features/environment.py +++ b/service/test/functional/features/environment.py @@ -18,7 +18,7 @@ import multiprocessing from selenium import webdriver from test.support.integration_helper import SoledadTestBase -import pixelated.user_agent +import pixelated.runserver def before_all(context): @@ -26,10 +26,10 @@ def before_all(context): context.soledad_test_base.setup_soledad() context.mailboxes = context.soledad_test_base.pixelated_mailboxes - context.app = pixelated.user_agent.app + context.app = pixelated.runserver.app context.app.mail_service = context.soledad_test_base.mail_service - worker = lambda app, port: pixelated.user_agent.app.run(port=4567, use_reloader=False) + worker = lambda app, port: pixelated.runserver.app.run(port=4567, use_reloader=False) context._process = multiprocessing.Process(target=worker, args=(context.app, 4567)) context._process.start() |