-
-
Notifications
You must be signed in to change notification settings - Fork 71
Extended controller apps tests #303
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
base: master
Are you sure you want to change the base?
Conversation
nemesifier
left a comment
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.
@asmodehn there's a conflict with master.
|
@nemesifier From what I can tell, these test failures come from However these were not tested before... and the issue seems somewhat similar to openwisp/openwisp-controller#442, by which I mean "controller tests fail when accompanied by firmware_upgrader", albeit for other reasons... So, I see few possible outcomes for this pull request:
I'd favor the latter, but let me know which way you want to go, or if you see another possible option ? Sadly, I don't think I will be very resourceful to fix these controller failing tests. The errors are regarding the database usage of the controller, and I don't know enough about this topic... |
nemesifier
left a comment
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.
@asmodehn can you update your openwisp-utils to the current latest master and run openwisp-qa-format on your branch and update this PR please?
This is due to:
|
@nemesifier Somehow openwisp-qa-format didn't do the job, I had to run black manually to replace quotes... I m not sure why that was the case... |
|
Anyway, I m putting this "ready for review" so we verify the tests pass in CI, then I can do another pass to minimize the changes with master... |
@asmodehn Make sure your openwisp-utils is up to date with the latest master, you may need to uninstall it and reinstall it. |
2443847 to
a3b2f02
Compare
|
I ll have a look at these soon... |
|
I don't remember closing this one... sorry for the noise... |
aim is to detect problems when using extended controller # Conflicts: # tests/openwisp2/settings.py # tests/openwisp2/urls.py
8cf4f08 to
7835686
Compare
Checklist
Reference to Existing Issue
Closes #298
Description of Changes
Added sample_config and sample_connection in tests.
Adjust the tests to pass (OK on my machine, still WIP for CI...)