diff --git a/test/test_benchmark.py b/test/test_benchmark.py index 4f171b979..0d72a5760 100644 --- a/test/test_benchmark.py +++ b/test/test_benchmark.py @@ -35,6 +35,8 @@ from bcharm import BenchmarkCharm +# Note: the 'benchmark' argument here is a fixture that pytest-benchmark +# automatically makes available to all tests. def test_context_explicit_meta(benchmark): ctx = benchmark(testing.Context, ops.CharmBase, meta={'name': 'foo'}) assert isinstance(ctx, testing.Context)