Skip to content

Fix: st2-run-pack-tests #6340

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NitinNahal
Copy link

Fix: st2-run-pack-tests

  • Due to recent migration from nose setup to pytest, st2-run-pack-tests is broken.

  • Include dependency for pytest-cov to allow coverage to be included when running script with '-c'

  • Fix test path when specifying the file with '-f'

  • Correct '-f' usage to follow pytest syntax: test_action_download.py::DownloadGitRepoActionTestCase::test_run_pack_download

  • Remove virtualenv hack required for nosetest

- Due to recent migration from nose setup to
  pytest, st2-run-pack-tests is broken.

- Include dependency for pytest-cov to allow
  coverage to be included when running script
  with '-c'

- Fix test path when specifying the file with
  '-f'

- Correct '-f' usage to follow pytest syntax:
  test_action_download.py::DownloadGitRepoActionTestCase::test_run_pack_download

- Remove virtualenv hack required for nosetest

Signed-off-by: NitinNahal <[email protected]>
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Jul 10, 2025
Signed-off-by: NitinNahal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S PR that changes 10-29 lines. Very easy to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants