Commit 8c64a3f9 authored by Bruno Duyé's avatar Bruno Duyé

tests - fix test_fetch_series_by_ids_in_different_datasets

parent be423811
Pipeline #121307 failed with stage
in 40 seconds
......@@ -111,7 +111,7 @@ def test_fetch_series_by_ids_in_same_dataset():
def test_fetch_series_by_ids_in_different_datasets():
df = fetch_series([
'AMECO/ZUTN/EA19.1.0.0.0.ZUTN',
'BIS/PP-SS/Q.AU.N.628',
'BIS/cbs/Q.S.5A.4B.F.B.A.A.LC1.A.1C',
])
provider_codes = df["provider_code"].unique()
......@@ -122,12 +122,12 @@ def test_fetch_series_by_ids_in_different_datasets():
dataset_codes = df["dataset_code"].unique()
assert len(dataset_codes) == 2
assert dataset_codes[0] == "ZUTN"
assert dataset_codes[1] == "PP-SS"
assert dataset_codes[1] == "cbs"
series_codes = df["series_code"].unique()
assert len(series_codes) == 2
assert series_codes[0] == "EA19.1.0.0.0.ZUTN"
assert series_codes[1] == "Q.AU.N.628"
assert series_codes[1] == "Q.S.5A.4B.F.B.A.A.LC1.A.1C"
def test_fetch_series_by_dimension():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment