-
Notifications
You must be signed in to change notification settings - Fork 717
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
Pass the correct kwargs to the cleanupsyncs management command. #11854
Pass the correct kwargs to the cleanupsyncs management command. #11854
Conversation
Build Artifacts
|
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.
I think it might be better to pass in the correct arguments to begin with, here https://github.com/learningequality/kolibri/blob/develop/kolibri/core/auth/kolibri_plugin.py#L54-L55
Sure - I was going for the fewest changes, but if it's fine to change the function signature, then happy to do that. |
76ceb9f
to
7dd81e5
Compare
Updated! |
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.
Prathamesh and I made sure the test coverage properly covered this, but obv improperly asserted these. So looks good to me!
Summary
push
andpull
kwargs to specify push and pull cleanups, but our task wrapper is currently passingis_push
andis_pull
References
No extant issue - noticed while doing some testing on Django 3.2 upgrading, where Django now complains if you pass non-existent kwargs to a management command!
Reviewer guidance
I ran the tests, with the tweak they passed.
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)