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

Using addCleanup() instead of TearDown(). #562

Merged
merged 33 commits into from
Jan 23, 2024
Merged

Commits on Jan 16, 2024

  1. test_ws_ping: Replace tearDown() with addCleanup() for process termin…

    …ation
    
    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    4978a16 View commit details
    Browse the repository at this point in the history
  2. tester.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    9b2edba View commit details
    Browse the repository at this point in the history
  3. test_headercollection.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    6eb176b View commit details
    Browse the repository at this point in the history
  4. stress.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    69032af View commit details
    Browse the repository at this point in the history
  5. test_x509.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0bd7b25 View commit details
    Browse the repository at this point in the history
  6. A small typo correction

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    a375f4b View commit details
    Browse the repository at this point in the history
  7. reconf_stress.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    54fa591 View commit details
    Browse the repository at this point in the history
  8. test_sockets.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    6e954ad View commit details
    Browse the repository at this point in the history
  9. mixins.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    f27dd9a View commit details
    Browse the repository at this point in the history
  10. test_reboot.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    b1ccebe View commit details
    Browse the repository at this point in the history
  11. test_shutdown.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    4c592e0 View commit details
    Browse the repository at this point in the history
  12. test_deproxy.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    c19d450 View commit details
    Browse the repository at this point in the history
  13. test_deproxy_message.py:

    * Replace tearDown() with addCleanup().
    * Minor typo fix
    
    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    1fc9d45 View commit details
    Browse the repository at this point in the history
  14. test_requests.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    f893c92 View commit details
    Browse the repository at this point in the history
  15. test_responses.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    b9b6fb7 View commit details
    Browse the repository at this point in the history
  16. frang_test_case.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    5170e5a View commit details
    Browse the repository at this point in the history
  17. test_http_tables.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    5ca351e View commit details
    Browse the repository at this point in the history
  18. test_long_request.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    ffd472c View commit details
    Browse the repository at this point in the history
  19. test_stress.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    c78b52a View commit details
    Browse the repository at this point in the history
  20. functional.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    65db7d6 View commit details
    Browse the repository at this point in the history
  21. multi_backend.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e4684e6 View commit details
    Browse the repository at this point in the history
  22. test_deadtime_1M.py: Replace tearDown() with addCleanup().

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    3c0d840 View commit details
    Browse the repository at this point in the history
  23. Apply Black code formatter

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    06b7d77 View commit details
    Browse the repository at this point in the history
  24. Removed outdated comment

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    cbcdc09 View commit details
    Browse the repository at this point in the history
  25. Revert "test_deproxy.py: Replace tearDown() with addCleanup()."

    This reverts commit 1a77d1e.
    No need to modify old-framework based tests
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    31ad983 View commit details
    Browse the repository at this point in the history
  26. Revert "test_shutdown.py: Replace tearDown() with addCleanup()."

    This reverts commit f3b5343.
    No need to modify old-framework based tests
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    3b1474f View commit details
    Browse the repository at this point in the history
  27. Revert "functional.py: Replace tearDown() with addCleanup()."

    This reverts commit 935eb70.
    No need to modify old-framework based tests
    ykargin committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    8901750 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Fix: AttributeError: 'FrangHostRequiredH2TestCase' object has no

    attribute 'oops' for tester.py
    
    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    d371ce0 View commit details
    Browse the repository at this point in the history
  2. Fix error reporting for test_http_tables.py

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    7ae7c73 View commit details
    Browse the repository at this point in the history
  3. Fix: cleanup

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    8fb0952 View commit details
    Browse the repository at this point in the history
  4. Cleanup: removed empty tearDowns

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f8aa55a View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Removed useless addCleanup() calls

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    5175677 View commit details
    Browse the repository at this point in the history
  2. Removed redundant addCleanup calls for tearDown in tests

    Signed-off-by: Yaroslav Kargin <yk@tempesta-tech.com>
    ykargin committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    c3eb1d9 View commit details
    Browse the repository at this point in the history