{"id":41517,"date":"2026-11-25T22:08:17","date_gmt":"2026-11-25T22:08:17","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=41517"},"modified":"2026-11-25T22:08:17","modified_gmt":"2026-11-25T22:08:17","slug":"python-test-runners-pytest-asyncio","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/python-test-runners-pytest-asyncio\/","title":{"rendered":"Python Test Runners &#8211; Pytest-asyncio"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">pytest-asyncio is a pytest plugin that runs <code>async def<\/code> test functions and async fixtures inside an asyncio event loop, so you can <code>await<\/code> coroutines directly in your tests. The example above shows the minimal pattern. This page adds a project layout that imports correctly, the expected output, strict vs auto mode, async fixtures, mocking, event loop scope and fixes for the most common errors.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/605bf0706bef6daf189b2172a7a500c6.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Why pytest needs a plugin for async tests<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Calling an <code>async def<\/code> function does not run it. The call returns a coroutine object, and something has to drive it on an event loop. Pytest on its own does not do that. Without a plugin, an async test is either skipped with a warning or reported as a failure, depending on your pytest version, with a message saying that async def functions are not natively supported. In both cases your assertions never run.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pytest-asyncio provides the event loop. When a test carries the <code>@pytest.mark.asyncio<\/code> marker, or auto mode is on, the plugin runs the coroutine to completion on a loop it manages. Anything raised inside the coroutine, including a failed <code>assert<\/code>, is reported like a normal test failure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A project layout that imports correctly<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The example above puts <code>my_module.py<\/code> in the project root and the test in <code>tests\/<\/code>. If you then run a bare <code>pytest<\/code>, the import often fails with <code>ModuleNotFoundError: No module named &#039;my_module&#039;<\/code>. Pytest&#039;s default import mode adds the test file&#039;s own directory (<code>tests\/<\/code>) to <code>sys.path<\/code>, not the project root. The cleanest fix is to tell pytest where your code lives.<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">project\/\n\u251c\u2500\u2500 my_module.py\n\u251c\u2500\u2500 pyproject.toml\n\u2514\u2500\u2500 tests\/\n    \u2514\u2500\u2500 test_async_code.py<\/code><\/span><\/pre>\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># pyproject.toml<\/span>\n&#91;tool.pytest.ini_options]\npythonpath = &#91;<span class=\"hljs-string\">\".\"<\/span>]\ntestpaths = &#91;<span class=\"hljs-string\">\"tests\"<\/span>]\nasyncio_mode = <span class=\"hljs-string\">\"strict\"<\/span>\nasyncio_default_fixture_loop_scope = <span class=\"hljs-string\">\"function\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><code>pythonpath<\/code> adds the project root to <code>sys.path<\/code>, so <code>from my_module import async_operation<\/code> works no matter where pytest is started.<\/li>\n\n\n<li><code>testpaths<\/code> limits test collection to <code>tests\/<\/code>.<\/li>\n\n\n<li><code>asyncio_mode = &quot;strict&quot;<\/code> makes the default mode explicit (see the next sections).<\/li>\n\n\n<li><code>asyncio_default_fixture_loop_scope<\/code> sets the event loop scope for async fixtures. Recent plugin versions print a deprecation warning when this option is not set.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Another option is to run <code>python -m pytest<\/code>, which also adds the current directory to <code>sys.path<\/code>. For larger projects, a <code>src\/<\/code> layout installed with <code>pip install -e .<\/code> is more robust.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up and running the example<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create and activate a virtual environment: <code>python3 -m venv .venv &amp;&amp; source .venv\/bin\/activate<\/code>.<\/li>\n\n\n<li>Install the tools: <code>pip install pytest pytest-asyncio<\/code>.<\/li>\n\n\n<li>Create <code>my_module.py<\/code> and <code>tests\/test_async_code.py<\/code> from the example above, plus the <code>pyproject.toml<\/code> shown earlier.<\/li>\n\n\n<li>Run the tests from the project root: <code>pytest -v<\/code>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The output should look roughly like this. Version numbers and the exact header lines depend on what you installed:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">============================= test session starts ==============================\nplatform linux -- Python <span class=\"hljs-number\">3.12<\/span>.x, pytest<span class=\"hljs-number\">-8.<\/span>x.x, pluggy<span class=\"hljs-number\">-1.<\/span>x.x\n<span class=\"hljs-attr\">rootdir<\/span>: <span class=\"hljs-regexp\">\/home\/u<\/span>ser\/project\n<span class=\"hljs-attr\">configfile<\/span>: pyproject.toml\n<span class=\"hljs-attr\">testpaths<\/span>: tests\n<span class=\"hljs-attr\">plugins<\/span>: asyncio-x.y.z\ncollected <span class=\"hljs-number\">1<\/span> item\n\ntests\/test_async_code.py::test_async_operation PASSED                    &#91;<span class=\"hljs-number\">100<\/span>%]\n\n============================== <span class=\"hljs-number\">1<\/span> passed <span class=\"hljs-keyword\">in<\/span> <span class=\"hljs-number\">1.02<\/span>s ===============================<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The test takes about one second because <code>async_operation<\/code> really sleeps for one second. Across hundreds of tests, real sleeps add up quickly. Mock slow I\/O or use very short delays in tests, as shown below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Strict mode vs auto mode<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">pytest-asyncio has two modes, set with <code>asyncio_mode<\/code> in your configuration or with <code>--asyncio-mode<\/code> on the command line.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>Strict mode (default)<\/th><th>Auto mode<\/th><\/tr><\/thead><tbody><tr><td>Async tests<\/td><td>Need <code>@pytest.mark.asyncio<\/code><\/td><td>Every <code>async def<\/code> test runs automatically<\/td><\/tr><tr><td>Async fixtures<\/td><td>Need <code>@pytest_asyncio.fixture<\/code><\/td><td>A plain <code>@pytest.fixture<\/code> works<\/td><\/tr><tr><td>Works alongside other async plugins (for example anyio, trio)<\/td><td>Yes<\/td><td>Can conflict, because it claims every coroutine<\/td><\/tr><tr><td>Best for<\/td><td>Libraries and mixed codebases<\/td><td>Projects that use only asyncio<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Auto mode: no marker needed<\/span>\n<span class=\"hljs-comment\"># pyproject.toml -&gt; asyncio_mode = \"auto\"<\/span>\n\nfrom my_module import async_operation\n\nasync def test_async_operation():\n    assert await async_operation() == <span class=\"hljs-string\">\"Async operation completed\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">To mark every test in a module without switching modes, set a module-level marker: <code>pytestmark = pytest.mark.asyncio<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Async fixtures for setup and teardown<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Real tests often need async setup, such as opening a client session, a database connection or a queue. In strict mode, declare these fixtures with <code>pytest_asyncio.fixture<\/code>. Code before <code>yield<\/code> is setup and code after it is teardown. Teardown still runs if the test fails.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># tests\/test_queue.py<\/span>\nimport asyncio\nimport pytest\nimport pytest_asyncio\n\n\n@pytest_asyncio.fixture\nasync def job_queue():\n    queue = asyncio.Queue()\n    await queue.put(<span class=\"hljs-string\">\"job-1\"<\/span>)\n    <span class=\"hljs-keyword\">yield<\/span> queue\n    <span class=\"hljs-comment\"># Teardown: drain anything the test left behind<\/span>\n    <span class=\"hljs-keyword\">while<\/span> not queue.<span class=\"hljs-keyword\">empty<\/span>():\n        queue.get_nowait()\n\n\n@pytest.mark.asyncio\nasync def test_consume_job(job_queue):\n    job = await job_queue.get()\n    assert job == <span class=\"hljs-string\">\"job-1\"<\/span>\n    assert job_queue.<span class=\"hljs-keyword\">empty<\/span>()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> If you decorate an async fixture with plain <code>@pytest.fixture<\/code> in strict mode, the test receives a coroutine or async generator object instead of the value. Assertions then fail in confusing ways. Recent pytest versions also warn about this.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Testing exceptions, timeouts, concurrency and mocks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The patterns below cover most real async code. <code>pytest.raises<\/code> works around <code>await<\/code> just as it does around normal calls. <code>unittest.mock.AsyncMock<\/code> (standard library, Python 3.8+) builds awaitable fakes, so a test can replace a slow network call without any real waiting.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># tests\/test_patterns.py<\/span>\nimport asyncio\nfrom unittest.mock import AsyncMock, patch\n\nimport pytest\n\nimport my_module\n\n\n@pytest.mark.asyncio\nasync def test_timeout_is_raised():\n    <span class=\"hljs-comment\"># async_operation sleeps 1s, so a 0.1s timeout must fire<\/span>\n    with pytest.raises(asyncio.TimeoutError):\n        await asyncio.wait_for(my_module.async_operation(), timeout=<span class=\"hljs-number\">0.1<\/span>)\n\n\n@pytest.mark.asyncio\nasync def test_runs_concurrently():\n    loop = asyncio.get_running_loop()\n    start = loop.time()\n    results = await asyncio.gather(*(my_module.async_operation() <span class=\"hljs-keyword\">for<\/span> _ in range(<span class=\"hljs-number\">3<\/span>)))\n    elapsed = loop.time() - start\n    assert results == &#91;<span class=\"hljs-string\">\"Async operation completed\"<\/span>] * <span class=\"hljs-number\">3<\/span>\n    assert elapsed &lt; <span class=\"hljs-number\">2<\/span>  <span class=\"hljs-comment\"># three 1s sleeps overlap instead of taking 3s<\/span>\n\n\n@pytest.mark.asyncio\nasync def test_sleep_is_mocked():\n    with patch(<span class=\"hljs-string\">\"my_module.asyncio.sleep\"<\/span>, <span class=\"hljs-keyword\">new<\/span>=AsyncMock()) <span class=\"hljs-keyword\">as<\/span> fake_sleep:\n        result = await my_module.async_operation()\n    assert result == <span class=\"hljs-string\">\"Async operation completed\"<\/span>\n    fake_sleep.assert_awaited_once_with(<span class=\"hljs-number\">1<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><code>asyncio.get_running_loop()<\/code> is the correct way to reach the current loop from inside a coroutine. Avoid the deprecated pattern of calling <code>asyncio.get_event_loop()<\/code> in tests.<\/li>\n\n\n<li>Patch the name where it is looked up (<code>my_module.asyncio.sleep<\/code>), not where it is defined.<\/li>\n\n\n<li><code>assert_awaited_once_with<\/code> checks that the coroutine was actually awaited. A plain <code>assert_called<\/code> only checks that it was called.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Event loop scope and the removed event_loop fixture<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By default, each test gets a fresh event loop. Tests stay isolated that way, but you cannot share an async resource, such as a connection pool, across tests. To share one, widen the loop scope of both the fixture and the tests that use it:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">import<\/span> pytest\n<span class=\"hljs-keyword\">import<\/span> pytest_asyncio\n\n\n@pytest_asyncio.fixture(loop_scope=<span class=\"hljs-string\">\"module\"<\/span>, scope=<span class=\"hljs-string\">\"module\"<\/span>)\n<span class=\"hljs-keyword\">async<\/span> def shared_resource():\n    resource = {<span class=\"hljs-string\">\"connections\"<\/span>: <span class=\"hljs-number\">0<\/span>}\n    <span class=\"hljs-keyword\">yield<\/span> resource\n\n\n@pytest.mark.asyncio(loop_scope=<span class=\"hljs-string\">\"module\"<\/span>)\n<span class=\"hljs-keyword\">async<\/span> def test_one(shared_resource):\n    shared_resource&#91;<span class=\"hljs-string\">\"connections\"<\/span>] += <span class=\"hljs-number\">1<\/span>\n    assert shared_resource&#91;<span class=\"hljs-string\">\"connections\"<\/span>] == <span class=\"hljs-number\">1<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Older tutorials override a custom <code>event_loop<\/code> fixture to get a module-scoped or session-scoped loop. That approach was deprecated and then removed in recent pytest-asyncio releases. Use the <code>loop_scope<\/code> argument shown above instead. If you upgrade the plugin and see errors about <code>event_loop<\/code>, this is usually why.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common errors and fixes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Symptom<\/th><th>Cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>Message that async def functions are not natively supported, with the test skipped or failed<\/td><td>pytest-asyncio is not installed in the active environment, or the marker is missing in strict mode<\/td><td>Run <code>pip install pytest-asyncio<\/code> in the same venv as pytest. Add <code>@pytest.mark.asyncio<\/code> or use auto mode<\/td><\/tr><tr><td><code>ModuleNotFoundError: No module named &#039;my_module&#039;<\/code><\/td><td>The project root is not on <code>sys.path<\/code><\/td><td>Set <code>pythonpath = [&quot;.&quot;]<\/code> or run <code>python -m pytest<\/code><\/td><\/tr><tr><td>Test receives a <code>coroutine<\/code> or <code>async_generator<\/code> object<\/td><td>Async fixture declared with <code>@pytest.fixture<\/code> in strict mode<\/td><td>Use <code>@pytest_asyncio.fixture<\/code><\/td><\/tr><tr><td><code>RuntimeError: ... attached to a different loop<\/code><\/td><td>A resource created on one event loop is used on another<\/td><td>Give the fixture and its tests the same <code>loop_scope<\/code><\/td><\/tr><tr><td>Deprecation warning about <code>asyncio_default_fixture_loop_scope<\/code><\/td><td>The option is unset<\/td><td>Add it to your pytest configuration<\/td><\/tr><tr><td>Test suite is slow<\/td><td>Real <code>sleep<\/code> calls or real network I\/O<\/td><td>Mock them with <code>AsyncMock<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Pin <code>pytest<\/code> and <code>pytest-asyncio<\/code> versions in your requirements file or lock file. Behaviour around modes and loop scope has changed between plugin releases, and pinning keeps CI results reproducible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need @pytest.mark.asyncio on every async test?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Only in strict mode, which is the default. Set <code>asyncio_mode = &quot;auto&quot;<\/code> to run every <code>async def<\/code> test automatically, or add <code>pytestmark = pytest.mark.asyncio<\/code> at the top of a module to mark all of its tests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between pytest.fixture and pytest_asyncio.fixture?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>pytest_asyncio.fixture<\/code> tells the plugin to run an async fixture on its event loop and pass the resulting value to the test. In strict mode, a plain <code>pytest.fixture<\/code> on an async function hands the test an unawaited coroutine instead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use pytest-asyncio with Python&#039;s unittest.IsolatedAsyncioTestCase?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You do not need to. Pytest can already run <code>IsolatedAsyncioTestCase<\/code> classes because they manage their own loop. pytest-asyncio is for plain pytest-style <code>async def<\/code> test functions and fixtures.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why was the event_loop fixture removed?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Overriding <code>event_loop<\/code> was an error-prone way to control loop lifetime, and it clashed with newer asyncio APIs. Recent pytest-asyncio releases replace it with the <code>loop_scope<\/code> argument on the marker and on <code>pytest_asyncio.fixture<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I test async code without waiting for real delays?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the slow call with <code>unittest.mock.AsyncMock<\/code> using <code>patch<\/code>, then check it with <code>assert_awaited_once_with<\/code>. The test then runs in milliseconds and still checks the logic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/programming\/python-programming-scripting-languages\/\">More Python tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/top-100-interview-questions-for-python\/\">TOP 100+ INTERVIEW QUESTIONS FOR PYTHON:-<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/top-50-python-interview-questions-and-answers\/\">Top 50 Python Interview Questions and Answers<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>pytest-asyncio is a pytest plugin that runs async def test functions and async fixtures inside an asyncio event loop, so you can await coroutines directly in your&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[499],"tags":[4803,7504],"class_list":["post-41517","post","type-post","status-publish","format-standard","hentry","category-python-programming-scripting-languages","tag-test-automation","tag-unit-testing"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/41517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=41517"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/41517\/revisions"}],"predecessor-version":[{"id":80236,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/41517\/revisions\/80236"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=41517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=41517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=41517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}