You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the endpoint names for relations are defined as constant. e.g. APP_LOGGING, APP_METRICS_ENDPOINT and APP_GRAFANA_DASHBOARD
It would be good if this could be provided as argument for functions. For example, the APP_LOGGING should be the default value for logging endpoint in deploy_and_assert_grafana_agent and assert_logging functions.
To Reproduce
asyncdeftest_logging(ops_test):
"""Test logging is defined in relation data bag."""app=ops_test.model.applications[GRAFANA_AGENT_APP]
awaitassert_logging(app, endpoint="my-logging")
Environment
Juju 3.4
Python 3.10
Relevant Log Output
no-logs
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
Currently, the endpoint names for relations are defined as constant. e.g.
APP_LOGGING
,APP_METRICS_ENDPOINT
andAPP_GRAFANA_DASHBOARD
It would be good if this could be provided as argument for functions. For example, the
APP_LOGGING
should be the default value for logging endpoint indeploy_and_assert_grafana_agent
andassert_logging
functions.To Reproduce
Environment
Juju 3.4
Python 3.10
Relevant Log Output
Additional Context
No response
The text was updated successfully, but these errors were encountered: