{"id":41521,"date":"2026-11-25T22:08:19","date_gmt":"2026-11-25T22:08:19","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=41521"},"modified":"2026-11-25T22:08:19","modified_gmt":"2026-11-25T22:08:19","slug":"python-test-runners-pytest-trio","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/python-test-runners-pytest-trio\/","title":{"rendered":"Python Test Runners &#8211; pytest-trio"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">pytest-trio is a pytest plugin that runs <code>async def<\/code> tests and fixtures inside a Trio event loop, so you can test Trio code without calling <code>trio.run()<\/code> yourself. This page explains the example above, fixes its weak points (no assertions, an unneeded nursery, a likely import error and a real one-second sleep), and covers trio mode, async fixtures, the built-in <code>nursery<\/code> and <code>autojump_clock<\/code> fixtures, exception groups and common errors.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/d6ef65f294c90db3aec02179d84bb4e9.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What pytest-trio does<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">pytest cannot run coroutine functions by itself. If it finds an <code>async def<\/code> test and no plugin claims it, the test does not run. pytest-trio claims tests marked with <code>@pytest.mark.trio<\/code> (or every async test, if trio mode is on). It starts a Trio run, sets up any async fixtures inside it, awaits the test and then tears everything down in the same run.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So the test body is already running inside Trio&#039;s event loop. You never call <code>trio.run()<\/code> in a test, and you don&#039;t need a nursery just to call an async function. <code>await<\/code> it directly.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>@pytest.mark.trio<\/code> runs one async test under Trio.<\/li>\n\n\n<li><code>trio_mode = true<\/code> in the pytest config runs every async test and fixture under Trio, with no markers needed.<\/li>\n\n\n<li>The <code>nursery<\/code> fixture gives a test a nursery for background tasks. Those tasks are cancelled when the test ends.<\/li>\n\n\n<li>The <code>mock_clock<\/code> and <code>autojump_clock<\/code> fixtures replace real time with a virtual clock, so tests that sleep or use timeouts finish almost instantly.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Corrected and runnable version of the example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The gist above puts three files into one text file. Its test also has no assertion, so it only proves that nothing raised an exception. Here is the same idea as a real project layout:<\/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_trio_code.py<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><code>my_module.py<\/code> now returns a result, which gives the test something to check:<\/p>\n\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\">import trio\n\n\nasync def trio_async_task(results: <span class=\"hljs-keyword\">list<\/span>, value: int) -&gt; None:\n    await trio.sleep(<span class=\"hljs-number\">1<\/span>)  <span class=\"hljs-comment\"># simulate I\/O<\/span>\n    results.append(value)\n\n\nasync def trio_async_operation(count: int = <span class=\"hljs-number\">3<\/span>) -&gt; <span class=\"hljs-keyword\">list<\/span>:\n    results = &#91;]\n    async with trio.open_nursery() <span class=\"hljs-keyword\">as<\/span> nursery:\n        <span class=\"hljs-keyword\">for<\/span> i in range(count):\n            nursery.start_soon(trio_async_task, results, i)\n    <span class=\"hljs-comment\"># the nursery block exits only after every child task has finished<\/span>\n    <span class=\"hljs-keyword\">return<\/span> sorted(results)<\/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<p class=\"wp-block-paragraph\"><code>tests\/test_trio_code.py<\/code> awaits the function directly and checks the result:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">import<\/span> <span class=\"hljs-selector-tag\">pytest<\/span>\n<span class=\"hljs-selector-tag\">import<\/span> <span class=\"hljs-selector-tag\">trio<\/span>\n\n<span class=\"hljs-selector-tag\">from<\/span> <span class=\"hljs-selector-tag\">my_module<\/span> <span class=\"hljs-selector-tag\">import<\/span> <span class=\"hljs-selector-tag\">trio_async_operation<\/span>\n\n\n<span class=\"hljs-keyword\">@pytest<\/span>.mark.trio\nasync def test_returns_all_results():\n    assert await trio_async_operation(<span class=\"hljs-number\">3<\/span>) == &#91;<span class=\"hljs-number\">0<\/span>, <span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">2<\/span>]\n\n\n@pytest.mark.trio\nasync def test_tasks_run_concurrently(autojump_clock):\n    start = trio.current_time()\n    await trio_async_operation(<span class=\"hljs-number\">5<\/span>)\n    # five <span class=\"hljs-number\">1<\/span>-second sleeps that run concurrently take about <span class=\"hljs-number\">1<\/span> virtual second\n    assert trio.current_time() - start == pytest.approx(<span class=\"hljs-number\">1<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><code>pyproject.toml<\/code> puts the project root on <code>sys.path<\/code>, which lets <code>from my_module import ...<\/code> work when pytest collects files under <code>tests\/<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">&#91;tool.pytest.ini_options]\npythonpath = &#91;<span class=\"hljs-string\">\".\"<\/span>]\ntestpaths = &#91;<span class=\"hljs-string\">\"tests\"<\/span>]<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><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<pre class=\"wp-block-code\"><span><code class=\"hljs\">pip install pytest pytest-trio\npytest -v<\/code><\/span><\/pre>\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\">tests\/test_trio_code.py::test_returns_all_results PASSED\ntests\/test_trio_code.py::test_tasks_run_concurrently PASSED\n\n============ <span class=\"hljs-number\">2<\/span> passed in ...s ============<\/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\">The first test takes about one real second because it really sleeps. The second test uses <code>autojump_clock<\/code>, so it finishes almost instantly even though the code sleeps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Trio mode: drop the markers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If a project uses only Trio, turn on trio mode. pytest-trio then handles every <code>async def<\/code> test and fixture, and you can remove <code>@pytest.mark.trio<\/code>.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">&#91;tool.pytest.ini_options]\ntrio_mode = <span class=\"hljs-literal\">true<\/span>\npythonpath = &#91;<span class=\"hljs-string\">\".\"<\/span>]<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><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<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># pytest.ini equivalent<\/span>\n&#91;pytest]\ntrio_mode = <span class=\"hljs-keyword\">true<\/span>\npythonpath = .<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><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> Don&#039;t enable trio mode alongside pytest-asyncio in auto mode. Both plugins will try to claim the same async tests. If both plugins must be installed, keep pytest-asyncio in strict mode and use explicit markers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Async fixtures and the nursery fixture<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With pytest-trio, fixtures can be <code>async def<\/code>, including async generator fixtures that use <code>yield<\/code> for teardown. They run in the same Trio run as the test. The built-in <code>nursery<\/code> fixture is the right place to start background services that a test needs:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">import pytest\nimport trio\n\n\n@pytest.fixture\nasync def upper_service(nursery):\n    send_in, recv_in = trio.open_memory_channel(<span class=\"hljs-number\">0<\/span>)\n    send_out, recv_out = trio.open_memory_channel(<span class=\"hljs-number\">0<\/span>)\n\n    async def worker():\n        async <span class=\"hljs-keyword\">for<\/span> msg in recv_in:\n            await send_out.send(msg.upper())\n\n    nursery.start_soon(worker)  <span class=\"hljs-comment\"># cancelled automatically after the test<\/span>\n    <span class=\"hljs-keyword\">return<\/span> send_in, recv_out\n\n\n@pytest.mark.trio\nasync def test_upper_service(upper_service):\n    send_in, recv_out = upper_service\n    await send_in.send(<span class=\"hljs-string\">\"hello\"<\/span>)\n    assert await recv_out.receive() == <span class=\"hljs-string\">\"HELLO\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><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\">If an async fixture needs cleanup, write it as <code>async def<\/code> with <code>yield<\/code> and put the cleanup code after the <code>yield<\/code>, for example closing a client or a channel. Async fixtures work only for tests that pytest-trio runs. A plain synchronous test cannot use them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Testing timeouts and exceptions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use <code>trio.fail_after()<\/code> to stop a test that might hang. Pair it with <code>autojump_clock<\/code> so the timeout costs no real time:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">@pytest.mark.trio\n<span class=\"hljs-keyword\">async<\/span> def test_slow_call_times_out(autojump_clock):\n    <span class=\"hljs-keyword\">with<\/span> pytest.raises(trio.TooSlowError):\n        <span class=\"hljs-keyword\">with<\/span> trio.fail_after(<span class=\"hljs-number\">5<\/span>):\n            <span class=\"hljs-keyword\">await<\/span> trio.sleep(<span class=\"hljs-number\">60<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><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\">Current Trio versions use strict exception groups by default. If a task inside a nursery raises, the error comes out of the nursery wrapped in an <code>ExceptionGroup<\/code>, so a plain <code>pytest.raises(ValueError)<\/code> will not match. Catch the group and check what it contains:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-9\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">async<\/span> def failing_operation():\n    <span class=\"hljs-keyword\">async<\/span> def boom():\n        raise ValueError(<span class=\"hljs-string\">\"bad input\"<\/span>)\n    <span class=\"hljs-keyword\">async<\/span> <span class=\"hljs-keyword\">with<\/span> trio.open_nursery() <span class=\"hljs-keyword\">as<\/span> nursery:\n        nursery.start_soon(boom)\n\n\n@pytest.mark.trio\n<span class=\"hljs-keyword\">async<\/span> def test_failure_is_reported():\n    <span class=\"hljs-keyword\">with<\/span> pytest.raises(ExceptionGroup) <span class=\"hljs-keyword\">as<\/span> excinfo:\n        <span class=\"hljs-keyword\">await<\/span> failing_operation()\n    assert excinfo.group_contains(ValueError, match=<span class=\"hljs-string\">\"bad input\"<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-9\"><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> <code>ExceptionGroup<\/code> is built into Python 3.11 and later. On older Python versions, import it from the <code>exceptiongroup<\/code> backport package.<\/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>&quot;async def functions are not natively supported&quot; and the test is skipped or fails<\/td><td>No plugin claimed the test<\/td><td>Install <code>pytest-trio<\/code> and add <code>@pytest.mark.trio<\/code>, or set <code>trio_mode = true<\/code><\/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> when tests live in <code>tests\/<\/code><\/td><td>Add <code>pythonpath = [&quot;.&quot;]<\/code> to the pytest config, or run <code>python -m pytest<\/code> from the project root<\/td><\/tr><tr><td>Test expects <code>ValueError<\/code> but gets <code>ExceptionGroup<\/code><\/td><td>Trio wraps errors raised by nursery children<\/td><td>Use <code>pytest.raises(ExceptionGroup)<\/code> with <code>excinfo.group_contains(...)<\/code><\/td><\/tr><tr><td>The suite is slow because of <code>trio.sleep<\/code> calls<\/td><td>Real time is passing<\/td><td>Request the <code>autojump_clock<\/code> fixture<\/td><\/tr><tr><td>The test hangs forever<\/td><td>It awaits something that never happens, such as a channel with no sender<\/td><td>Wrap the code in <code>trio.fail_after(...)<\/code><\/td><\/tr><tr><td>Async tests behave oddly when pytest-asyncio is also installed<\/td><td>Both plugins are claiming async tests<\/td><td>Use pytest-asyncio strict mode, or uninstall the plugin you don&#039;t need<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Best practices<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Assert on return values or side effects. A test that only awaits a function catches crashes and nothing else.<\/li>\n\n\n<li>Await the code under test directly. Add a nursery only when the test itself must run tasks concurrently, and prefer the <code>nursery<\/code> fixture for background services.<\/li>\n\n\n<li>Use <code>autojump_clock<\/code> for any code that sleeps, retries or times out. It keeps tests fast and deterministic.<\/li>\n\n\n<li>Turn on <code>trio_mode<\/code> in Trio-only projects so you don&#039;t forget a marker.<\/li>\n\n\n<li>Pin <code>pytest<\/code>, <code>pytest-trio<\/code> and <code>trio<\/code> in your dev requirements. Exception group behaviour and plugin hooks have changed between releases.<\/li>\n\n\n<li>If your library supports both asyncio and Trio through AnyIO, consider AnyIO&#039;s own pytest plugin (<code>@pytest.mark.anyio<\/code>), which can run the same test on both backends.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For more Python testing and scripting guides, see the <a href=\"https:\/\/www.devopsschool.com\/blog\/category\/programming\/python-programming-scripting-languages\/\">Python tutorials<\/a> category.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between pytest-trio and pytest-asyncio?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">pytest-trio runs async tests under the Trio event loop. pytest-asyncio runs them under asyncio. Choose the plugin that matches the library your code uses, because Trio code cannot run on the asyncio loop.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need @pytest.mark.trio on every test?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Only if trio mode is off. Set <code>trio_mode = true<\/code> in <code>pytest.ini<\/code> or under <code>[tool.pytest.ini_options]<\/code> in <code>pyproject.toml<\/code>, and every async test and fixture runs under Trio without a marker.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does pytest-trio support async fixtures?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Fixtures can be <code>async def<\/code>, and async generator fixtures can use <code>yield<\/code> for teardown. They run in the same Trio run as the test, and only tests that pytest-trio runs can use them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I make Trio tests with sleeps run fast?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Request the <code>autojump_clock<\/code> fixture. It installs a virtual clock that skips ahead whenever all tasks are waiting, so <code>trio.sleep(60)<\/code> finishes almost instantly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I call trio.run() inside a pytest-trio test?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. pytest-trio already runs the test inside Trio. Calling <code>trio.run()<\/code> from inside a running Trio loop raises an error. Just <code>await<\/code> the code you are testing.<\/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-trio is a pytest plugin that runs async def tests and fixtures inside a Trio event loop, so you can test Trio code without calling trio.run() yourself&#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":[7504],"class_list":["post-41521","post","type-post","status-publish","format-standard","hentry","category-python-programming-scripting-languages","tag-unit-testing"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/41521","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=41521"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/41521\/revisions"}],"predecessor-version":[{"id":80238,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/41521\/revisions\/80238"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=41521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=41521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=41521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}