ED_LRR/tests/test_ed_lrr.py

25 lines
509 B
Python
Raw Normal View History

2020-02-05 23:23:23 +00:00
import pytest
stars_csv = "D:\\devel\\rust\\ED_LRR\\stars.csv"
@pytest.mark.dependency()
def test_import():
import _ed_lrr
@pytest.mark.dependency(depends=["test_import"])
def test_search_works():
import _ed_lrr
system_names = ["Ix", "Sol", "Colonia", "Sagittarius A*"]
systems = _ed_lrr.find_sys(system_names, stars_csv)
print(systems)
@pytest.mark.dependency(depends=["test_import"])
def test_zero_range_fails():
import _ed_lrr
# _ed_lrr.route()