Skip to content

Commit

Permalink
fix(test): Force non-legacy with auto_config=False
Browse files Browse the repository at this point in the history
* Card ID: CCT-934

insights-client usually upgrades to use non-legacy API. But with
auto_config=False, this code isn't run and the upload to Ingress fails.
We have to set this explicitly if we want to test in non-production
environments.
  • Loading branch information
m-horky committed Nov 4, 2024
1 parent 964031f commit 2cee29a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration-tests/test_display_name_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def test_display_name_disable_autoconfig_and_autoupdate(insights_client, test_co
3. Host appears in inventory with the display name matching the one that was set
"""
# configuration on insights-client.conf
insights_client.config.legacy_upload = False
insights_client.config.cert_verify = True
insights_client.config.auto_update = False
insights_client.config.auto_config = False
Expand Down

0 comments on commit 2cee29a

Please sign in to comment.