Tests (#1086)
* First step in more tests (cherry picked from commit b9af117) * Formatting (cherry picked from commit 5f037e6) * Booster test fixes * Switch to wx3.0 * try coda * Test output * Tweak travis * try reduced virtualenv * Tweak travis * Reduce test to a single one. * Formatting
This commit is contained in:
12
_development/helpers_items.py
Normal file
12
_development/helpers_items.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import pytest
|
||||
|
||||
# noinspection PyPackageRequirements
|
||||
from _development.helpers import DBInMemory as DB, Gamedata, Saveddata
|
||||
|
||||
|
||||
# noinspection PyShadowingNames
|
||||
@pytest.fixture
|
||||
def StrongBluePillBooster (DB, Gamedata, Saveddata):
|
||||
print("Creating Strong Blue Pill Booster")
|
||||
item = DB['gamedata_session'].query(Gamedata['Item']).filter(Gamedata['Item'].name == "Strong Blue Pill Booster").first()
|
||||
return Saveddata['Booster'](item)
|
||||
Reference in New Issue
Block a user