Skip to content

Commit

Permalink
Fix system tests failing on importable checks
Browse files Browse the repository at this point in the history
Change-Id: I8af21344a836c232ff505c1442b960253eec31b7
  • Loading branch information
Bartlomiej Hirsz committed Apr 14, 2022
1 parent 5bb09f6 commit 3bffe04
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions tests/system/providers/google/gcs/example_gcs_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_acl"

Expand Down
4 changes: 2 additions & 2 deletions tests/system/providers/google/gcs/example_gcs_copy_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_copy_delete"

Expand Down
4 changes: 2 additions & 2 deletions tests/system/providers/google/gcs/example_gcs_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_sensor"

Expand Down
4 changes: 2 additions & 2 deletions tests/system/providers/google/gcs/example_gcs_to_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_to_gcs"

Expand Down
4 changes: 2 additions & 2 deletions tests/system/providers/google/gcs/example_gcs_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_transform"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_transform_timespan"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
from airflow.providers.google.cloud.transfers.local_to_gcs import LocalFilesystemToGCSOperator
from airflow.utils.trigger_rule import TriggerRule

ENV_ID = os.environ["SYSTEM_TESTS_ENV_ID"]
PROJECT_ID = os.environ["SYSTEM_TESTS_GCP_PROJECT"]
ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT")

DAG_ID = "gcs_upload_download"

Expand Down

0 comments on commit 3bffe04

Please sign in to comment.