Skip to content

Delete unused "mutable_mock_store" fixture#21632

Merged
tgamblin merged 1 commit intospack:developfrom
alalazo:refactor/delete_unused_fixture
Feb 17, 2021
Merged

Delete unused "mutable_mock_store" fixture#21632
tgamblin merged 1 commit intospack:developfrom
alalazo:refactor/delete_unused_fixture

Conversation

@alalazo
Copy link
Copy Markdown
Member

@alalazo alalazo commented Feb 11, 2021

The fixture was introduced in #19690, maybe accidentally. It's not used in unit tests, and though it should be mutable it seems an exact copy of it's immutable version.

The fixture was introduced in spack#19690 maybe accidentally.

It's not used in unit tests, and though it should be
mutable it seems an exact copy of it's immutable version.
@alalazo alalazo added ci Issues related to Continuous Integration refactoring tests General test capability(ies) labels Feb 11, 2021
@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Feb 11, 2021

@nhanford @becker33 I noticed this while fighting with failing unit tests in a local branch, let me know if I overlooked something and the fixture is needed or planned to be used in other PRs.

@nhanford
Copy link
Copy Markdown
Contributor

@alalazo Thanks for spotting this. I am okay with getting rid of it. This was going to be used for test_update_sbang in bindist.py. Unfortunately I determined that this test case requires such a specific and unique set of operations that this fixture would not have been of much use to it.

@alalazo alalazo marked this pull request as ready for review February 11, 2021 21:49
@alalazo alalazo requested review from becker33 and tgamblin February 11, 2021 21:49
@tgamblin tgamblin merged commit ee1b0b9 into spack:develop Feb 17, 2021
@alalazo alalazo deleted the refactor/delete_unused_fixture branch February 17, 2021 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Issues related to Continuous Integration refactoring tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants