unit tests install packages on test system
Bug #1964298 reported by
Xav Paice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-cloudstats |
New
|
Undecided
|
Unassigned |
Bug Description
When running unit tests, apt is not mocked out and the test attempts to install pacakges including python3-jinja2. This fails when not running as root, and we shouldn't be installing packages like that during unit tests in any case.
This starts with:
test_06_
Test config changed when ready. ... juju-log: Installing python3-jinja2 with options: ['--option=
but is also present in several other tests.
To post a comment you must log in.