File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ import re
12from typing import Generator
23import json
34import pyarrow as pa
78from .data import TEST_DATA
89
910
11+ def test_neptune2_list_runs (api_token , project , test_runs ):
12+ exporter = Neptune2Exporter (api_token = api_token )
13+
14+ runs = exporter .list_runs (
15+ project_id = project , runs = "|" .join (re .escape (run_id ) for run_id in test_runs )
16+ )
17+
18+ assert len (runs ) == len (test_runs )
19+
20+
1021def test_neptune2_download_parameters_empty (api_token , project , test_runs ):
1122 exporter = Neptune2Exporter (api_token = api_token )
1223
Original file line number Diff line number Diff line change 1+ import re
12from typing import Generator
23import pyarrow as pa
34from neptune_exporter import model
45from neptune_exporter .exporters .neptune3 import Neptune3Exporter
56from .data import TEST_DATA
67
78
9+ def test_neptune3_list_runs (api_token , project , test_runs ):
10+ exporter = Neptune3Exporter (api_token = api_token )
11+
12+ runs = exporter .list_runs (
13+ project_id = project , runs = "|" .join (re .escape (run_id ) for run_id in test_runs )
14+ )
15+
16+ assert len (runs ) == len (test_runs )
17+
18+
819def test_neptune3_download_parameters_empty (api_token , project , test_runs ):
920 exporter = Neptune3Exporter (api_token = api_token )
1021
You can’t perform that action at this time.
0 commit comments