-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add tests for broken link actions #3096
base: develop
Are you sure you want to change the base?
Conversation
Code Climate has analyzed commit a306330 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 82.9% (0.4% change). View more on Code Climate. |
a306330
to
21e107c
Compare
21e107c
to
f94014f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks mostly good to me :)
Could you also add a test case for #3058?
) | ||
|
||
assert Link.objects.filter(url__url=OLD_URL).count() == after | ||
# assert Link.objects.filter(url__url=NEW_URL).count() == before - after |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's failing somehow 😢
Co-authored-by: David Venhoff <[email protected]>
0e03a0a
to
89036fd
Compare
Short description
This PR adds tests for actions users can take in the broken link list.
Proposed changes
Side effects
Resolved issues
Fixes: #3062
Pull Request Review Guidelines