We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c6e07 commit bbf7b57Copy full SHA for bbf7b57
1 file changed
tests/test_cli.py
@@ -1,18 +1,15 @@
1
# standard library
2
-from pkgutil import get_data
+from os import environ as env
3
4
5
# dependencies
6
from deshima_rawdata import cli
7
8
9
-# constants
10
-DATA_LIST = get_data("deshima_rawdata", "data.csv")
11
-
12
13
-def test_download() -> None:
14
- pass
+def test_cli_download() -> None:
+ for obsid in cli.DATA_LIST.index:
+ cli.download(obsid, tag=env["GITHUB_SHA"])
15
16
17
def test_cli_list() -> None:
18
- assert cli.list("csv") == DATA_LIST.decode()
+ assert cli.list("csv") == cli.DATA_LIST.to_csv()
0 commit comments