Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infra web tests #644

Merged
merged 18 commits into from
Jul 2, 2023
Merged

Infra web tests #644

merged 18 commits into from
Jul 2, 2023

Commits on Jul 1, 2023

  1. Configuration menu
    Copy the full SHA
    a7d5fc9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53df518 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7e8a12 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d368f24 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. [tests] test switch_edit endpoint #643

    The `test_edit_nonexistent_switch` test fails due to a bug thus uncovered.
    lukasjuhrich committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    0c7ab3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0516ef5 View commit details
    Browse the repository at this point in the history
  3. [tests] Test switch_delete #643

    Once again, `test_delete_nonexistent_switch` uncovered a bug similar
    to the one before..
    lukasjuhrich committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    072e4d3 View commit details
    Browse the repository at this point in the history
  4. [web] Don't run session.begin() in web endpointoint

    The session has `autobegin` behavior, and is begun explicitly outside
    of the request when testing; therefore, `.begin` fails in this
    scenario.
    
    Refs #643
    lukasjuhrich committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    05c35ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c49c12 View commit details
    Browse the repository at this point in the history
  6. [tests] test switch_port_create #643

    This required doing the `rollback` on a nested session (i.e., a
    `SessionTransaction`) instead of the outer one.
    lukasjuhrich committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    b5666ae View commit details
    Browse the repository at this point in the history
  7. [web] make handle_errors session handling work with tests

    We add an exemplary test which replaces a lib function by an error to
    test this.
    lukasjuhrich committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    53b6af6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8899c96 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    488a279 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    466e6f4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    48915ef View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f7b47d8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    62a41a5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    541a724 View commit details
    Browse the repository at this point in the history