From d91f8dfeb07270dc6be5b8a8b7e2e9fe84662f29 Mon Sep 17 00:00:00 2001 From: yakimka Date: Fri, 25 Oct 2024 11:36:45 +0300 Subject: [PATCH] Fix marker name in docs --- docs/testing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 7430eff..69858fa 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -122,7 +122,7 @@ Lifespan By default, Picodi will automatically call :func:`picodi.shutdown_dependencies` and make additional cleanups after each test. -If you need to call :func:`picodi.init_dependencies` - you can use eponymous marker. +If you need to call :func:`picodi.init_dependencies` - you can use marker. .. testcode:: @@ -130,13 +130,13 @@ If you need to call :func:`picodi.init_dependencies` - you can use eponymous mar from picodi import SingletonScope - @pytest.mark.init_dependencies + @pytest.mark.picodi_init_dependencies async def test_foo(): pass # Or pass kwargs to fixture - @pytest.mark.init_dependencies(scope_class=SingletonScope) + @pytest.mark.picodi_init_dependencies(scope_class=SingletonScope) async def test_bar(): pass