()
| 94 | # noinspection PyUnresolvedReferences,PyUnusedLocal |
| 95 | @pytest.fixture |
| 96 | def 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 |
nothing calls this directly
no outgoing calls
no test coverage detected