16 lines
467 B
Python
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'
|