From 77fcdd423303d3d48b19277464d7e1f75095f129 Mon Sep 17 00:00:00 2001 From: Pablo Pardo Garcia Date: Wed, 18 Sep 2024 18:03:17 +0200 Subject: [PATCH] add test to check source uses staging api --- tests/glassflow/integration_tests/pipeline_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/glassflow/integration_tests/pipeline_test.py b/tests/glassflow/integration_tests/pipeline_test.py index 8cbd3cd..08fb9bb 100644 --- a/tests/glassflow/integration_tests/pipeline_test.py +++ b/tests/glassflow/integration_tests/pipeline_test.py @@ -3,6 +3,11 @@ from glassflow import errors +def test_using_staging_server(source, sink): + assert source.glassflow_config.server_url == "https://staging.api.glassflow.dev/v1" + assert sink.glassflow_config.server_url == "https://staging.api.glassflow.dev/v1" + + def test_pipeline_data_source_validate_credentials_ok(source): try: source.validate_credentials()