Skip to content

Commit

Permalink
Fix linting and set up Gitlab integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanklee86 committed Jan 7, 2022
1 parent caaca5a commit 9b80101
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UnleashClient/api/features.py
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions tests/integration_tests/integration_gitlab.py
Expand Up @@ -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
)
Expand Down

0 comments on commit 9b80101

Please sign in to comment.