@@ -17,7 +17,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None:
17
17
source_url = "https://test-dataset.json" ,
18
18
publisher_name = "test_publisher" ,
19
19
license_url = "https://license.com" ,
20
- license_name = "License" ,
20
+ license_title = "License" ,
21
21
json_url = "https://downloads/test_dataset.json" ,
22
22
csv_url = "https://downloads/test_dataset.csv" ,
23
23
xlsx_url = "https://downloads/test_dataset.xlsx" ,
@@ -31,7 +31,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None:
31
31
loaded_at = now ,
32
32
source_url = "https://test-dataset.json" ,
33
33
publisher = Publisher (name = "test_publisher" ),
34
- license = License (name = "License" , url = "https://license.com" ),
34
+ license = License (title = "License" , url = "https://license.com" ),
35
35
downloads = [
36
36
Download (format = "json" , url = "https://downloads/test_dataset.json" ),
37
37
Download (format = "csv" , url = "https://downloads/test_dataset.csv" ),
@@ -51,7 +51,7 @@ def test_get_all_datasets_missing_download_formats(mocker: MockerFixture) -> Non
51
51
source_url = "https://test-dataset.json" ,
52
52
publisher_name = "test_publisher" ,
53
53
license_url = "https://license.com" ,
54
- license_name = "License" ,
54
+ license_title = "License" ,
55
55
json_url = "https://downloads/test_dataset.json" ,
56
56
csv_url = None ,
57
57
xlsx_url = None ,
@@ -65,7 +65,7 @@ def test_get_all_datasets_missing_download_formats(mocker: MockerFixture) -> Non
65
65
loaded_at = now ,
66
66
source_url = "https://test-dataset.json" ,
67
67
publisher = Publisher (name = "test_publisher" ),
68
- license = License (name = "License" , url = "https://license.com" ),
68
+ license = License (title = "License" , url = "https://license.com" ),
69
69
downloads = [
70
70
Download (format = "json" , url = "https://downloads/test_dataset.json" ),
71
71
],
0 commit comments