We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3657e83 commit b7afd29Copy full SHA for b7afd29
tests/integration/test_data_integrator.py
@@ -34,7 +34,10 @@ async def get_data_integrator_credentials(ops_test: OpsTest) -> typing.Dict:
34
data_integrator_unit = ops_test.model.applications[DATA_INTEGRATOR_APP_NAME].units[0]
35
action = await data_integrator_unit.run_action(action_name="get-credentials")
36
result = await action.wait()
37
- assert result.results["return-code"] == 0
+ if juju_.has_secrets:
38
+ assert result.results["Code"] == 0
39
+ else:
40
+ assert result.results["return-code"] == 0
41
assert result.results["ok"] == "True"
42
return result.results["mysql"]
43
0 commit comments