Fix lint
This commit is contained in:
parent
290a78f21a
commit
6b4090e92b
|
@ -313,14 +313,15 @@ class TestHorizonHooks(CharmTestCase):
|
|||
_git_requested.return_value = False
|
||||
self._call_hook('dashboard-plugin-relation-joined')
|
||||
self.relation_set.assert_called_with(
|
||||
bin_path='/usr/bin',
|
||||
bin_path='/usr/bin',
|
||||
openstack_dir='/usr/share/openstack-dashboard',
|
||||
relation_id=None
|
||||
)
|
||||
|
||||
@patch.object(hooks, 'git_pip_venv_dir')
|
||||
@patch.object(hooks, 'git_install_requested')
|
||||
def test_dashboard_config_joined_git(self, _git_requested, _git_pip_venv_dir):
|
||||
def test_dashboard_config_joined_git(self, _git_requested,
|
||||
_git_pip_venv_dir):
|
||||
expected_bin_path = '/mnt/fuji/venv'
|
||||
_git_requested.return_value = True
|
||||
_git_pip_venv_dir.return_value = expected_bin_path
|
||||
|
@ -343,4 +344,3 @@ class TestHorizonHooks(CharmTestCase):
|
|||
_argv = ['hooks/start'] # NOQA
|
||||
hooks.main()
|
||||
self.log.assert_called()
|
||||
|
||||
|
|
Loading…
Reference in New Issue