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

chore(test): Improve tests in test_collection.py #306

Merged
merged 2 commits into from
Nov 4, 2024

Commits on Nov 4, 2024

  1. fix(test): Improve test_archive_structure

    * Card ID: CCT-934
    
    - It is not required to register insights-client to run the collection.
      This speeds up the test.
    
    - There is a simpler way to get a content; '--output-dir' saves the
      content uncompressed into user-controlled location.
    
    - Not all listed directories/files are actually included in the archive
      at all times.
      - 'boot', 'run' are not included in containers.
      - 'var' is not even collected on baremetal host if the collectors
        did not match any data.
    m-horky committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    0260c0d View commit details
    Browse the repository at this point in the history
  2. chore(test): Improve test_branch_info

    - It is not required to register insights-client to run the collection.
      This speeds up the test.
    
    - There is a simpler way to get a content; '--output-dir' saves the
      content uncompressed into user-controlled location.
    m-horky committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    d2017cc View commit details
    Browse the repository at this point in the history