diff --git a/ops-sunbeam/ops_sunbeam/test_utils.py b/ops-sunbeam/ops_sunbeam/test_utils.py index 260f39b0..1cb3a89f 100644 --- a/ops-sunbeam/ops_sunbeam/test_utils.py +++ b/ops-sunbeam/ops_sunbeam/test_utils.py @@ -52,13 +52,15 @@ from ops import ( framework, model, ) +from ops._private.harness import ( + _TestingModelBackend, + _TestingPebbleClient, +) from ops.jujucontext import ( _JujuContext, ) from ops.testing import ( Harness, - _TestingModelBackend, - _TestingPebbleClient, ) TEST_CA = """-----BEGIN CERTIFICATE----- diff --git a/test-requirements.txt b/test-requirements.txt index 043e6032..afa1f93d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,14 +2,13 @@ stestr coverage tenacity # ops-sunbeam -ops # all charms +ops[testing]>=2.17.0 # all charms, private paths have moved lightkube # almost all charms pwgen # keystone-k8s python-keystoneclient # keystone-k8s cryptography # neutron-k8s jsonschema # neutron-k8s pytest-interface-tester # barbican-k8s -ops-scenario<7 # barbican-k8s, see bug https://github.com/canonical/pytest-interface-tester/issues/23 pydantic # traefik-k8s ingress lib requests # cinder-ceph-k8s netifaces # cinder-ceph-k8s