8000 _checkBadRequest should not check response status code · Issue #17 · lvh/txyoga · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
_checkBadRequest should not check response status code #17
Open
@lvh

Description

@lvh

Every response should have its status code checked. The fact that _checkBadRequest conflates this with checking the response status code makes refactoring the check for the expected status code look weird/impossible/duplicated. This happens in test_creation.ElementCreationTest._test_createElement and in test_updating.ElementUpdatingTest._test_updateElement, but obviously ever call to _checkBadRequest should be investigated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0