Skip to content

Remove duplicate test fixture files#6261

Merged
cognifloyd merged 1 commit intomasterfrom
drop-dup-fixtures
Oct 18, 2024
Merged

Remove duplicate test fixture files#6261
cognifloyd merged 1 commit intomasterfrom
drop-dup-fixtures

Conversation

@cognifloyd
Copy link
Copy Markdown
Member

@cognifloyd cognifloyd commented Oct 11, 2024

These are not test files, they are fixtures:

  • st2actions/tests/unit/test_async_runner.py
  • st2actions/tests/unit/test_polling_async_runner.py

It looks like they were copied to st2tests/st2tests/mocks/runners/ at some point. Nothing imports from or uses the copies in st2actions, so this PR just deletes them.

Here is the copy of these files:

These are not test files:
- st2actions/tests/unit/test_async_runner.py
- st2actions/tests/unit/test_polling_async_runner.py

It looks like they were copied to st2tests/st2tests/mocks/runners/
at some point. Nothing imports from or uses the copies in st2actions,
so just delete them.
@cognifloyd cognifloyd added tests no changelog No Changelog.rst needed for this PR labels Oct 11, 2024
@cognifloyd cognifloyd added this to the pants milestone Oct 11, 2024
@cognifloyd cognifloyd requested review from a team, guzzijones and nzlosh October 11, 2024 21:58
@cognifloyd cognifloyd self-assigned this Oct 11, 2024
@pull-request-size pull-request-size Bot added the size/L PR that changes 100-499 lines. Requires some effort to review. label Oct 11, 2024
@cognifloyd cognifloyd merged commit 6c6ac79 into master Oct 18, 2024
@cognifloyd cognifloyd deleted the drop-dup-fixtures branch October 18, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog No Changelog.rst needed for this PR size/L PR that changes 100-499 lines. Requires some effort to review. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants