Skip to content

GlobalSettings.update_global_settings raises JSONDecodeError #102

Description

@jjeffryes-shippo

Proposal

It appears that GlobalSettings.update_global_settings() expects to receive back the updated setting when posting to __admin/settings but according to the documentation the actual successful response is blank. Thus when I attempt this, the setting is successfully applied but raises a JSONDecodeError from requests.

Reproduction steps

Based on the unit test I see here, I attempted to set a global fixed delay as follows:
GlobalSettings.update_global_settings(GlobalSetting(fixed_delay=350)) with wiremock:2.32.0.

References

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions