Skip to content

Commit

Permalink
Improve environment variables in GCS system test (#13792)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiasz Kędzierski authored Jan 21, 2021
1 parent 70bf307 commit 9d9ef1a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/providers/google/cloud/operators/test_gcs_system_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
# under the License.
import os

from airflow.providers.google.cloud.example_dags.example_gcs import (
BUCKET_1,
BUCKET_2,
PATH_TO_SAVED_FILE,
PATH_TO_TRANSFORM_SCRIPT,
PATH_TO_UPLOAD_FILE,
)
from tests.test_utils.logging_command_executor import LoggingCommandExecutor

BUCKET_1 = os.environ.get("GCP_GCS_BUCKET_1", "test-gcs-example-bucket")
BUCKET_2 = os.environ.get("GCP_GCS_BUCKET_1", "test-gcs-example-bucket-2")

PATH_TO_UPLOAD_FILE = os.environ.get("GCP_GCS_PATH_TO_UPLOAD_FILE", "test-gcs-example.txt")
PATH_TO_SAVED_FILE = os.environ.get("GCP_GCS_PATH_TO_SAVED_FILE", "test-gcs-example-download.txt")
PATH_TO_TRANSFORM_SCRIPT = os.environ.get('GCP_GCS_PATH_TO_TRANSFORM_SCRIPT', 'test.py')


class GcsSystemTestHelper(LoggingCommandExecutor):
@staticmethod
Expand Down

0 comments on commit 9d9ef1a

Please sign in to comment.