~simpoir/landscape-charm/charm_push_target

« back to all changes in this revision

Viewing changes to lib/tests/test_upgrade.py

  • Committer: Adam Collard
  • Date: 2019-01-17 12:10:46 UTC
  • Revision ID: adam.collard@canonical.com-20190117121046-zeuv3hrpl290lb3t
Add support for layer-apt's definition of install_sources and install_keys

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
    def setUp(self):
13
13
        super(UpgradeActionTest, self).setUp()
14
 
        self.fetch = FetchStub()
 
14
        self.fetch = FetchStub(self.hookenv.config)
15
15
        self.subprocess = SubprocessStub()
16
16
        self.subprocess.add_fake_executable("apt-mark")
17
17
        self.root_dir = self.useFixture(RootDir())