Start aligning Admin app with config styles used elsewhere

- no config overrides - now all set in environment
- use different files for staging and live too allow for differently named env variables
- updates to run_app and run_tests scripts to set correct environment (test/development) so correct config picked up
- use environment file on deployed environments to pick correct config
This commit is contained in:
Martyn Inglis
2016-03-17 13:45:59 +00:00
parent 85348c05b3
commit 2473b09beb
8 changed files with 55 additions and 36 deletions

View File

@@ -24,7 +24,7 @@ from notifications_python_client.errors import HTTPError
@pytest.fixture(scope='session')
def app_(request):
app = create_app('test')
app = create_app()
ctx = app.app_context()
ctx.push()