-
Notifications
You must be signed in to change notification settings - Fork 128
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
tests.core.test_host.HelpersTest.test_write_updatedb: AssertionError: False is not true #575
Comments
Hi Nobutu, What version of python/Ubuntu are you running this on, please? Thanks |
Ubuntu 20.10 and Python3 3.8.6-0ubuntu1. |
FWIW, I tried the same operation with a fresh LXD container with Ubuntu 20.04 LTS. And I can reproduce the test failure there as well. As a side note, requiring bzr outside of venv to run tests is a bit weird.
|
Yup, me too; it's due to a lack of mocking in the function-under-test. I'm sorting it out now. |
Good to know that was reproduced on your end. Another side note, invoking
The tests will fail as follows, but it may be worthy a separate bug instead of mixing everything into this.
|
Yes, there's also something odd going on in the |
So I've updated the tests in the module to pass on py38 on groovy. re: the juju command, I got:
Are you getting something different, or was it a test failing? (I fixed that too, where the |
The test failed only when I see other two weird dependencies to run tests so filed a separate bug just for tracking purpose: |
This should be resolved by #577 - please re-open if there are still issues. Thanks. |
When I run
tox -e py3
, I will get the following test failure.Full logs for the record:
The text was updated successfully, but these errors were encountered: