Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow vroot mocking #20

Open
mmkay opened this issue Sep 2, 2024 · 0 comments
Open

Allow vroot mocking #20

mmkay opened this issue Sep 2, 2024 · 0 comments

Comments

@mmkay
Copy link
Contributor

mmkay commented Sep 2, 2024

In grafana-agent-k8s-operator, in scenario tests, we mock vroot with a fixture: https://github.com/canonical/grafana-agent-k8s-operator/blob/main/tests/scenario/conftest.py#L10

It looks like pytest interface tester configure method does not expose the way to set up a virtual root to pass it to the tester.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant