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

tests: fix missing mock in attach unit test #2785

Merged
merged 2 commits into from
Nov 29, 2023
Merged

tests: fix missing mock in attach unit test #2785

merged 2 commits into from
Nov 29, 2023

Commits on Nov 24, 2023

  1. tests: fix missing mock in attach unit test

    _post_cli_attach must be mocked to avoid leaks. The JSON part of the
    test removed in this commit is covered in test_event_logger.
    
    Signed-off-by: Renan Rodrigo <[email protected]>
    renanrodrigo committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    715ba56 View commit details
    Browse the repository at this point in the history
  2. tests: add unit test for _post_cli_attach

    testing only the relevant output
    
    Signed-off-by: Renan Rodrigo <[email protected]>
    renanrodrigo committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    1dfa00f View commit details
    Browse the repository at this point in the history