In the repo unit tests, UbuntuTestCase is not using the apt cache fake

Bug #1716032 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Medium
Unassigned

Bug Description

We have a fake apt cache in snapcraft/tests/fixture_setup.py
This fake should be used by all the unit tests that require to access the apt cache.

The unit tests in snapcraft.tests.repo.UbuntuTestCase are using a mock instead. They should be updated to use the fake.

Tags: bitesize tests
Leo Arias (elopio)
Changed in snapcraft:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.