Misc updates for ASO and Py3.10 testing
This commit is contained in:
parent
a3ebd66847
commit
64cd111594
@ -6,7 +6,7 @@ jinja2
|
|||||||
git+https://github.com/openstack/charm-ops-openstack#egg=ops_openstack
|
git+https://github.com/openstack/charm-ops-openstack#egg=ops_openstack
|
||||||
git+https://github.com/openstack/charm-ops-interface-tls-certificates#egg=interface_tls_certificates
|
git+https://github.com/openstack/charm-ops-interface-tls-certificates#egg=interface_tls_certificates
|
||||||
|
|
||||||
git+https://github.com/openstack-charmers/advanced-sunbeam-openstack@v0.1#egg=advanced_sunbeam_openstack
|
git+https://github.com/openstack-charmers/advanced-sunbeam-openstack#egg=advanced_sunbeam_openstack
|
||||||
lightkube
|
lightkube
|
||||||
lightkube-models
|
lightkube-models
|
||||||
cryptography < 3.4
|
cryptography < 3.4
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# This file is managed centrally. If you find the need to modify this as a
|
# This file is managed centrally. If you find the need to modify this as a
|
||||||
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
||||||
# requirements management in charms via bot-control. Thank you.
|
# requirements management in charms via bot-control. Thank you.
|
||||||
charm-tools>=2.4.4
|
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
mock>=1.2
|
mock>=1.2
|
||||||
flake8>=2.2.4,<=2.4.1
|
flake8>=2.2.4,<=2.4.1
|
||||||
|
@ -45,6 +45,11 @@ basepython = python3.9
|
|||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
|
[testenv:py3.10]
|
||||||
|
basepython = python3.10
|
||||||
|
deps = -r{toxinidir}/requirements.txt
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:py3]
|
[testenv:py3]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
|
@ -37,6 +37,10 @@ class _NovaXenaOperatorCharm(charm.NovaXenaOperatorCharm):
|
|||||||
super().configure_charm(event)
|
super().configure_charm(event)
|
||||||
self._log_event(event)
|
self._log_event(event)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def public_ingress_address(self):
|
||||||
|
return "nova.juju"
|
||||||
|
|
||||||
|
|
||||||
class TestNovaOperatorCharm(test_utils.CharmTestCase):
|
class TestNovaOperatorCharm(test_utils.CharmTestCase):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user