-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cce5395
commit 87f0a5e
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
import dataland_qa_lab.dataland.get_data as qa | ||
from dataland_qa_lab.utils import config | ||
|
||
|
||
def test_dataland_connectivity() -> None: | ||
client = config.get_config().dataland_client | ||
resolved_companies = client.company_api.get_companies(chunk_size=1) | ||
assert len(resolved_companies) > 0 | ||
|
||
|
||
def dummy_test() -> None: | ||
company_id = "4423c691-0436-423f-abcb-0a08127ee848" | ||
year = "2024" | ||
qa.get_all_company_datasets(company_id=company_id) | ||
qa.get_data_id_by_year(company_id=company_id, year=year) | ||
qa.get_dataset_by_year(company_id=company_id, year=year) | ||
qa.get_value1_by_year(company_id=company_id, year=year) | ||
qa.get_datasource_reference_bytes(company_id=company_id, year=year) | ||
assert True |