Refactor of pillar-server and pillar-web into a single python package. This simplifies the overall architecture of pillar applications. Special thanks @sybren and @venomgfx
15 lines
359 B
Python
15 lines
359 B
Python
from pillar.api.eve_settings import *
|
|
|
|
MONGO_DBNAME = 'pillar_test'
|
|
|
|
|
|
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
|
|
test_settings.MONGO_DBNAME = MONGO_DBNAME
|
|
tests.MONGO_HOST = MONGO_HOST
|
|
tests.MONGO_DBNAME = MONGO_DBNAME
|