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

Restructure tests #55

Merged
merged 1 commit into from
May 20, 2024
Merged

Restructure tests #55

merged 1 commit into from
May 20, 2024

Conversation

perlpunk
Copy link
Contributor

  • Rename _set_mock_data to _test_issue_reminder (before the name suggested that it was only setting mock data)
  • Use named params. The params array was a bit hard to read, and the different length with the differing item inserted somewhere in the middle instead of the end made the code needlessly confusing. Also it contained unnecessary data
  • Both test_automatic_priority_on_issue and test_issue_with_low_priority_never_change now assert the complete list of function calls

- Rename _set_mock_data to _test_issue_reminder (before the name suggested
  that it was only setting mock data)
- Use named params. The `params` array was a bit hard to read, and the
  different length with the differing item inserted somewhere in the middle
  instead of the end made the code needlessly confusing. Also it contained
  unnecessary data
- Both test_automatic_priority_on_issue and
  test_issue_with_low_priority_never_change now assert the complete list of
  function calls
Copy link

github-actions bot commented May 18, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-05-20 15:16 UTC

@perlpunk perlpunk merged commit f1b966e into openSUSE:main May 20, 2024
2 checks passed
@perlpunk perlpunk deleted the restructure-tests branch May 20, 2024 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants