From 23b382e997b8a37d85abedc7077f29035a76ad43 Mon Sep 17 00:00:00 2001 From: $Cuentas-AppServices Date: Thu, 9 Nov 2023 23:26:43 +0000 Subject: [PATCH] hotfix GitHub workflow 6 --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 181b353..845fbb5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -39,7 +39,7 @@ def repository_with_cashflows(bq_repository): write_disposition=bigquery.WriteDisposition.WRITE_TRUNCATE, source_format=bigquery.SourceFormat.NEWLINE_DELIMITED_JSON, ) - if os.environ.get('SA_JSON'): + if not os.environ.get('SA_JSON'): bq_repository.client.create_dataset(os.environ["DATASET"], exists_ok=True) bq_repository.load_table_from_json( CASHFLOWS, os.environ["DATASET"] + "." + os.environ["SOURCE_TABLE"], job_config