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 Job class #19

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Add tests to the Job class #19

merged 2 commits into from
Dec 19, 2023

Conversation

hammady
Copy link
Member

@hammady hammady commented Dec 18, 2023

This adds comprehensive tests for 2 major functions in the Job class:

  • from_row
  • set_error_unlock

@hammady hammady self-assigned this Dec 18, 2023
@hammady hammady merged commit 58dc027 into master Dec 19, 2023
1 check passed
@hammady hammady deleted the job-tests branch December 19, 2023 16:53
hammady added a commit that referenced this pull request Dec 20, 2023
* Add tests for Job.from_row
* Add tests for Job.set_error_unlock
hammady added a commit that referenced this pull request Dec 21, 2023
* Instrument using custom attributes + add Worker tests (#18)
* Add tests to the Job class (#19)
* Add support for reporting extra fields if configured (#20)
* Add Reporter class for Newrelic abstraction and job utility (#21)
* Fix integration bugs + add report_raw and flatten dicts (#23)

* Patch GH action to work on python 2.7 only
* Downgrade pytest, PyYAML, psycopg2-binary to work with python 2.7
* Fix tests and job to be python 2.7 compatible
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.

2 participants