2016-03-25 15:57:17 +01:00
|
|
|
from settings import *
|
|
|
|
|
|
|
|
from eve.tests.test_settings import MONGO_DBNAME
|
2016-04-26 12:33:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
def override_eve():
|
|
|
|
from eve.tests import test_settings
|
|
|
|
from eve import tests
|
|
|
|
|
|
|
|
test_settings.MONGO_HOST = MONGO_HOST
|
|
|
|
test_settings.MONGO_PORT = MONGO_PORT
|
|
|
|
tests.MONGO_HOST = MONGO_HOST
|
|
|
|
tests.MONGO_PORT = MONGO_PORT
|