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

fix: incorrect marking of TestClass.test_method as unused, close #717 #761

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

noahnu
Copy link
Collaborator

@noahnu noahnu commented Jun 19, 2023

Description

Fixes regression from #710

Closes #717, closes #752


snapshot_collection = SnapshotCollection(location=snapshot_location)
snapshot_collection.add(Snapshot(name=Path(filename_wo_ext).stem))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're already stripping the suffix on L84. We should not be doing this twice, otherwise our class method naming convention TestClass.test_method.json will turn into TestClass.

@noahnu noahnu merged commit 0badfdb into main Jun 19, 2023
12 checks passed
@noahnu noahnu deleted the bugfix/717 branch June 19, 2023 03:49
tophat-opensource-bot pushed a commit that referenced this pull request Jun 19, 2023
## [4.0.4](v4.0.3...v4.0.4) (2023-06-19)

### Bug Fixes

* incorrect marking of TestClass.test_method as unused, close [#717](#717) ([#761](#761)) ([0badfdb](0badfdb))
@tophat-opensource-bot
Copy link
Collaborator

🎉 This PR is included in version 4.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants