~simpoir/landscape-charm/charmhelpers-and-keys

« back to all changes in this revision

Viewing changes to lib/tests/test_install.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:
9
9
 
10
10
    def setUp(self):
11
11
        super(InstallHookTest, self).setUp()
12
 
        self.fetch = FetchStub()
 
12
        self.fetch = FetchStub(self.hookenv.config)
13
13
        self.subprocess = SubprocessStub()
14
14
        self.subprocess.add_fake_executable("apt-mark")
15
15
        self.hook = InstallHook(