MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / DBInMemory

Function DBInMemory

_development/helpers.py:96–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94# noinspection PyUnresolvedReferences,PyUnusedLocal
95@pytest.fixture
96def DBInMemory():
97 print("Creating database in memory")
98
99 import eos.config
100
101 import eos
102 import eos.db
103
104 # Output debug info to help us troubleshoot Travis
105 print(eos.db.saveddata_engine)
106 print(eos.db.gamedata_engine)
107
108 helper = {
109 'config': eos.config,
110 'db' : eos.db,
111 'gamedata_session' : eos.db.gamedata_session,
112 'saveddata_session' : eos.db.saveddata_session,
113 }
114 return helper
115
116
117@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected