Files
pyfa/tests/test_modules/test_eos/test_gamedata.py
2018-09-16 00:05:36 -04:00

16 lines
467 B
Python

# Add root folder to python paths
# This must be done on every test in order to pass in Travis
import os
import sys
script_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.realpath(os.path.join(script_dir, '..', '..', '..')))
# noinspection PyPackageRequirements
def test_race(DB, RifterFit, KeepstarFit):
"""
Test race code
"""
assert RifterFit.ship.item.race == 'minmatar'
assert KeepstarFit.ship.item.race == 'upwell'