From 9b80101742a29055e3f0fb6e41266bd027cd4a45 Mon Sep 17 00:00:00 2001 From: ivanklee86 Date: Fri, 7 Jan 2022 04:04:38 -0500 Subject: [PATCH] Fix linting and set up Gitlab integration tests. --- UnleashClient/api/features.py | 2 +- tests/integration_tests/integration_gitlab.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UnleashClient/api/features.py b/UnleashClient/api/features.py index 6bb64a13..267373c8 100644 --- a/UnleashClient/api/features.py +++ b/UnleashClient/api/features.py @@ -61,7 +61,7 @@ def get_feature_toggles(url: str, if resp.status_code == 304: return None, etag - + return resp.json(), etag except Exception as exc: LOGGER.exception("Unleash Client feature fetch failed due to exception: %s", exc) diff --git a/tests/integration_tests/integration_gitlab.py b/tests/integration_tests/integration_gitlab.py index 27f0b4a9..9c082695 100644 --- a/tests/integration_tests/integration_gitlab.py +++ b/tests/integration_tests/integration_gitlab.py @@ -17,9 +17,9 @@ my_client = UnleashClient( - url="https://gitlab.com/api/v4/feature_flags/unleash/12139921", + url="https://gitlab.com/api/v4/feature_flags/unleash/32635317", app_name="pyIvan", - instance_id="Mr1vcvCx4QijfauYz_fg", + instance_id="Sc5fv9aCyFPB4XcEFk-E", disable_metrics=True, disable_registration=True )