13 lines
385 B
Python
13 lines
385 B
Python
import os
|
|
|
|
os.environ['FLASK_ENV'] = 'testing'
|
|
os.environ['APP_SETTINGS'] = 'fittrackee.config.TestingConfig'
|
|
# to avoid resetting dev database during tests
|
|
os.environ['DATABASE_URL'] = os.environ['DATABASE_TEST_URL']
|
|
|
|
pytest_plugins = [
|
|
'fittrackee.tests.fixtures.fixtures_app',
|
|
'fittrackee.tests.fixtures.fixtures_workouts',
|
|
'fittrackee.tests.fixtures.fixtures_users',
|
|
]
|