tox 4 compat

Fully qualify paths to in repo helpers to allow execution of
shell scripts as part of tox targets.

Fix pattern matching for change in behaviour of the mysql-k8s
operator.

Change-Id: Ic6f4c96307dc5baf2ab25ef1384994ea02d4f497
This commit is contained in:
James Page 2023-01-18 11:51:32 +00:00
parent 24d26b0a18
commit 0787173bae
2 changed files with 4 additions and 5 deletions

View File

@ -40,4 +40,4 @@ target_deploy_status:
workload-status-message-regex: '^$'
mysql:
workload-status: active
workload-status-message-regex: '^$'
workload-status-message-regex: '^.*$'

View File

@ -30,8 +30,8 @@ commands = stestr run --slowest {posargs}
allowlist_externals =
git
charmcraft
fetch-libs.sh
rename.sh
{toxinidir}/fetch-libs.sh
{toxinidir}/rename.sh
deps =
-r{toxinidir}/test-requirements.txt
@ -98,8 +98,7 @@ commands = {[testenv:lint]commands}
description = Check code against coding style standards
deps =
black
# flake8==4.0.1 # Pin version until https://github.com/csachs/pyproject-flake8/pull/14 is merged
flake8
flake8<6
flake8-docstrings
flake8-copyright
flake8-builtins