25 lines
509 B
Python
25 lines
509 B
Python
|
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()
|