-
Notifications
You must be signed in to change notification settings - Fork 20
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
Move errata record creation in dramatiq task #1042
base: master
Are you sure you want to change the base?
Conversation
cfaef03
to
204f1c4
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.
Please fix tests
7bcd132
to
25510db
Compare
3856279
to
f999ba1
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.
Also, please fix the following warnings from the pylint report:
alws/routers/errata.py:1:0: R0401: Cyclic import (alws.dramatiq -> alws.dramatiq.errata) (cyclic-import)
alws/dramatiq/errata.py:22:0: W0311: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)
f999ba1
to
bbb296d
Compare
bbb296d
to
4f22a8e
Compare
tests/test_api/test_errata.py
Outdated
import pytest | ||
|
||
from alws.dramatiq.errata import create_new_errata |
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.
Is this import really required here?
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.
Oh, not anymore
4f22a8e
to
f0a4f1b
Compare
f0a4f1b
to
dd97401
Compare
dd97401
to
06ca5e5
Compare
Resolves: AlmaLinux/build-system#318
create_errata_record
andcreate_new_errata_record
to dramatiq task