← Back to issue list

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

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1716032
Type
issue
State
open
Author
~elopio
Labels
bitesize tests
Created
2017-09-08 18:41:31.764096+00:00
Updated
2017-09-08 18:41:37.151804+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

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.

Evaluation history

No evaluation history available.