Fix tempest and pep8 tests
Fix tempest jobs to properly use tempest-horizon as tempest-plugin in job configuration. Flake8 3.8.0 fixed a few bugs so that additional issues are marked, fix these. Co-Authored-By: Andreas Jaeger <aj@suse.com> Change-Id: I2aca3286ea2cc1ade567087786781952489d6efa
This commit is contained in:
parent
209e87cdf8
commit
a0a85dd176
@ -97,14 +97,13 @@
|
|||||||
- ^openstack_dashboard/.*/[^/]*\.spec\.js$
|
- ^openstack_dashboard/.*/[^/]*\.spec\.js$
|
||||||
- ^horizon/static/.*/[^/]*\.spec\.js$
|
- ^horizon/static/.*/[^/]*\.spec\.js$
|
||||||
vars: &base_vars
|
vars: &base_vars
|
||||||
devstack_localrc:
|
|
||||||
TEMPEST_PLUGINS: "{{ ansible_user_dir }}/src/opendev.org/openstack/tempest-horizon"
|
|
||||||
USE_PYTHON3: true
|
|
||||||
devstack_services:
|
devstack_services:
|
||||||
horizon: true
|
horizon: true
|
||||||
tempest: true
|
tempest: true
|
||||||
tempest_concurrency: 2
|
tempest_concurrency: 2
|
||||||
tempest_test_regex: horizon
|
tempest_test_regex: horizon
|
||||||
|
tempest_plugins:
|
||||||
|
- tempest-horizon
|
||||||
tox_envlist: all
|
tox_envlist: all
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
@ -127,6 +127,7 @@ class VolumeBackup(BaseCinderAPIResourceWrapper):
|
|||||||
'created_at', 'volume_id', 'availability_zone', 'snapshot_id']
|
'created_at', 'volume_id', 'availability_zone', 'snapshot_id']
|
||||||
_volume = None
|
_volume = None
|
||||||
_snapshot = None
|
_snapshot = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def volume(self):
|
def volume(self):
|
||||||
return self._volume
|
return self._volume
|
||||||
|
@ -37,7 +37,7 @@ monkeypatch_escape()
|
|||||||
|
|
||||||
# Load default values
|
# Load default values
|
||||||
# pylint: disable=wrong-import-position
|
# pylint: disable=wrong-import-position
|
||||||
from openstack_dashboard.defaults import * # noqa: F403,H303
|
from openstack_dashboard.defaults import * # noqa: E402,F403,H303
|
||||||
|
|
||||||
_LOG = logging.getLogger(__name__)
|
_LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ from openstack_dashboard.utils import settings as settings_utils
|
|||||||
monkeypatch_escape()
|
monkeypatch_escape()
|
||||||
|
|
||||||
# Load default values
|
# Load default values
|
||||||
from openstack_dashboard.defaults import * # noqa: F403,H303
|
from openstack_dashboard.defaults import * # noqa: E402,F403,H303
|
||||||
|
|
||||||
WEBROOT = '/'
|
WEBROOT = '/'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user