Skip to content

Commit

Permalink
Merge pull request #91 from dosaboy/fix-CI-errors
Browse files Browse the repository at this point in the history
[stable/20.03] Fix ci errors
  • Loading branch information
dosaboy authored May 14, 2024
2 parents 0e971cb + c799ed3 commit 257547e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/charms/ovn_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ class BaseOVNChassisCharm(charms_openstack.charm.OpenStackCharm):
configuration_class = OVNConfigurationAdapter
required_relations = [CERT_RELATION, 'ovsdb']
python_version = 3
enable_openstack = False
bridges_key = 'bridge-interface-mappings'
valid_config = True
# Services to be monitored by nrpe
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
CHARM_LAYERS_DIR={toxinidir}/layers
CHARM_INTERFACES_DIR={toxinidir}/interfaces
JUJU_REPOSITORY={toxinidir}/build
passenv = http_proxy https_proxy INTERFACE_PATH
passenv = http_proxy,https_proxy,INTERFACE_PATH
install_command =
pip install {opts} {packages}
deps =
Expand Down
4 changes: 2 additions & 2 deletions unit_tests/test_lib_charms_ovn_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ def _fake_config(x=None):
# remove the 'is_flag_set' patch so the tests can use it
self._patches['is_flag_set'].stop()
setattr(self, 'is_flag_set', None)
del(self._patches['is_flag_set'])
del(self._patches_start['is_flag_set'])
del self._patches['is_flag_set']
del self._patches_start['is_flag_set']

self.patch('charmhelpers.contrib.openstack.context.DPDKDeviceContext',
name='DPDKDeviceContext')
Expand Down

0 comments on commit 257547e

Please sign in to comment.