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

Add tests to the canary job. #116

Merged
merged 4 commits into from
Feb 27, 2023
Merged

Add tests to the canary job. #116

merged 4 commits into from
Feb 27, 2023

Conversation

jewelpit
Copy link
Member

This adds not just the existing automated test suite, but also adds a new test to make sure that the latest versions of Ubuntu and Fedora are correctly included in the set of versions we support, since we use those values to generate the package repos.

I've left the supported versions list unchanged for the first iteration of this PR so that we can see the canary job fail, and I'll update them before merging.

@jewelpit
Copy link
Member Author

jewelpit commented Feb 24, 2023

sh strikes again -_- I'll pull the OS version check out into a separate Bash file in the morning.

Copy link
Contributor

@goffrie goffrie left a comment

Choose a reason for hiding this comment

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

seems good to me

dropbox_test.py Outdated
def raise_error(s):
raise FatalVisibleErrorForTest(s)

setattr(dropbox, "FatalVisibleError", raise_error)
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe use patch + assert_called instead?

@jewelpit jewelpit merged commit cf4ccaa into master Feb 27, 2023
@jewelpit jewelpit deleted the version_check branch February 27, 2023 21:23
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.

None yet

2 participants