mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-21 20:31:00 +00:00
add ex_obs to scripts
This commit is contained in:
parent
2732e56a86
commit
981f4b57f8
@ -23,6 +23,6 @@ requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
obs = "examples.xair_obs.__main__:main"
|
||||
xair = 'scripts:test_xair'
|
||||
x32 = 'scripts:test_x32'
|
||||
obs = "scripts:ex_obs"
|
||||
xair = "scripts:test_xair"
|
||||
x32 = "scripts:test_x32"
|
||||
|
@ -2,6 +2,11 @@ import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def ex_obs():
|
||||
path = Path.cwd() / "examples" / "xair_obs" / "."
|
||||
subprocess.run(["py", str(path)])
|
||||
|
||||
|
||||
def test_xair():
|
||||
path = Path.cwd() / "tests" / "xair"
|
||||
subprocess.run(["pytest", "-v", str(path)])
|
||||
|
Loading…
Reference in New Issue
Block a user