Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | · | 1 | ·c564cc9f065a6efb8cc1511655b0911d·530688·doc·optional·python-inline-snapshot-doc_0.13.3-1_all.deb |
2 | ·a133f6b76d1775b4c19bfe3081df11f2·27204·python·optional·python3-inline-snapshot_0.13.3-1_all.deb | 2 | ·a133f6b76d1775b4c19bfe3081df11f2·27204·python·optional·python3-inline-snapshot_0.13.3-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-10-12·17:32:27.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-10-12·17:32:27.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····3004·2024-10-12·17:32:27.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3004·2024-10-12·17:32:27.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···5274 | 3 | -rw-r--r--···0········0········0···527492·2024-10-12·17:32:27.000000·data.tar.xz |
Offset 948, 15 lines modified | Offset 948, 15 lines modified | ||
948 | <a·id="__codelineno-1-5"·name="__codelineno-1-5"·href="#__codelineno-1-5"></a>····<span·class="k">assert</span>·<span·class="mi">1</span>·<span·class="o">==</span>·<span·class="n">snapshot</span><span·class="p">()</span> | 948 | <a·id="__codelineno-1-5"·name="__codelineno-1-5"·href="#__codelineno-1-5"></a>····<span·class="k">assert</span>·<span·class="mi">1</span>·<span·class="o">==</span>·<span·class="n">snapshot</span><span·class="p">()</span> |
949 | <a·id="__codelineno-1-6"·name="__codelineno-1-6"·href="#__codelineno-1-6"></a>····<span·class="k">assert</span>·<span·class="mi">2</span>·<span·class="o"><=</span>·<span·class="n">snapshot</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">)</span> | 949 | <a·id="__codelineno-1-6"·name="__codelineno-1-6"·href="#__codelineno-1-6"></a>····<span·class="k">assert</span>·<span·class="mi">2</span>·<span·class="o"><=</span>·<span·class="n">snapshot</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">)</span> |
950 | </code></pre></div> | 950 | </code></pre></div> |
951 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=create,report | 951 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=create,report |
952 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 952 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
953 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report | 953 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report |
954 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None | 954 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None |
955 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp. | 955 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.2CGgW30NT4 |
956 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m | 956 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m |
957 | </code></pre></div> | 957 | </code></pre></div> |
958 | <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">¶</a></h2> | 958 | <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">¶</a></h2> |
959 | <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p> | 959 | <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p> |
960 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=short-report | 960 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=short-report |
961 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0menvironment:·line·10:·python:·command·not·found | 961 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0menvironment:·line·10:·python:·command·not·found |
962 | </code></pre></div> | 962 | </code></pre></div> |
Offset 967, 24 lines modified | Offset 967, 24 lines modified | ||
967 | </div> | 967 | </div> |
968 | <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">¶</a></h2> | 968 | <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">¶</a></h2> |
969 | <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p> | 969 | <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p> |
970 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=report | 970 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=report |
971 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 971 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
972 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=report | 972 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=report |
973 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None | 973 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None |
974 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp. | 974 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.8j1Xh4qx3s |
975 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m | 975 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m |
976 | </code></pre></div> | 976 | </code></pre></div> |
977 | <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">¶</a></h2> | 977 | <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">¶</a></h2> |
978 | <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p> | 978 | <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p> |
979 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=review | 979 | <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m>·pytest·test_something.py·--inline-snapshot=review |
980 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 980 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
981 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=review | 981 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=review |
982 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None | 982 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None |
983 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp. | 983 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.DumeU3dvSu |
984 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m | 984 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m |
985 | </code></pre></div> | 985 | </code></pre></div> |
986 | <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">¶</a></h2> | 986 | <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">¶</a></h2> |
987 | <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>. | 987 | <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>. |
988 | This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p> | 988 | This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p> |
989 | <div·class="admonition·info"> | 989 | <div·class="admonition·info"> |
990 | <p·class="admonition-title">deprecation</p> | 990 | <p·class="admonition-title">deprecation</p> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | def·test_something(): | 65 | def·test_something(): |
66 | ····assert·1·==·snapshot() | 66 | ····assert·1·==·snapshot() |
67 | ····assert·2·<=·snapshot(5) | 67 | ····assert·2·<=·snapshot(5) |
68 | [1;34m>·pytest·test_something.py·--inline-snapshot=create,report | 68 | [1;34m>·pytest·test_something.py·--inline-snapshot=create,report |
69 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 69 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
70 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report | 70 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report |
71 | ··inifile:·None | 71 | ··inifile:·None |
72 | ··rootdir:·/tmp/tmp. | 72 | ··rootdir:·/tmp/tmp.2CGgW30NT4 |
73 | [0m | 73 | [0m |
74 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=s\x8sh\x8ho\x8or\x8rt\x8t-\x8-r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 74 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=s\x8sh\x8ho\x8or\x8rt\x8t-\x8-r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
75 | give·a·short·report·over·which·changes·can·be·made·to·the·snapshots | 75 | give·a·short·report·over·which·changes·can·be·made·to·the·snapshots |
76 | [1;34m>·pytest·test_something.py·--inline-snapshot=short-report | 76 | [1;34m>·pytest·test_something.py·--inline-snapshot=short-report |
77 | [0menvironment:·line·10:·python:·command·not·found | 77 | [0menvironment:·line·10:·python:·command·not·found |
78 | Info | 78 | Info |
79 | short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled | 79 | short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled |
Offset 81, 23 lines modified | Offset 81, 23 lines modified | ||
81 | restriction·is·lifted. | 81 | restriction·is·lifted. |
82 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 82 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
83 | Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots | 83 | Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots |
84 | [1;34m>·pytest·test_something.py·--inline-snapshot=report | 84 | [1;34m>·pytest·test_something.py·--inline-snapshot=report |
85 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 85 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
86 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=report | 86 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=report |
87 | ··inifile:·None | 87 | ··inifile:·None |
88 | ··rootdir:·/tmp/tmp. | 88 | ··rootdir:·/tmp/tmp.8j1Xh4qx3s |
89 | [0m | 89 | [0m |
90 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ev\x8vi\x8ie\x8ew\x8w_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 90 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ev\x8vi\x8ie\x8ew\x8w_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
91 | Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes | 91 | Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes |
92 | [1;34m>·pytest·test_something.py·--inline-snapshot=review | 92 | [1;34m>·pytest·test_something.py·--inline-snapshot=review |
93 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 93 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
94 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=review | 94 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=review |
95 | ··inifile:·None | 95 | ··inifile:·None |
96 | ··rootdir:·/tmp/tmp. | 96 | ··rootdir:·/tmp/tmp.DumeU3dvSu |
97 | [0m | 97 | [0m |
98 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=d\x8di\x8is\x8sa\x8ab\x8bl\x8le\x8e_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* | 98 | *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=d\x8di\x8is\x8sa\x8ab\x8bl\x8le\x8e_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8* |
99 | Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be | 99 | Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be |
100 | used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests, | 100 | used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests, |
101 | or·if·you·want·to·speedup·your·CI. | 101 | or·if·you·want·to·speedup·your·CI. |
102 | deprecation | 102 | deprecation |
103 | This·option·was·previously·called·--inline-snapshot-disable | 103 | This·option·was·previously·called·--inline-snapshot-disable |
Offset 597, 30 lines modified | Offset 597, 30 lines modified | ||
597 | ········{ | 597 | ········{ |
598 | ············"location":·"pytest.html", | 598 | ············"location":·"pytest.html", |
599 | ············"text":·"<p>inline-snapshot·provides·one·pytest·option·with·different·flags·(create,·fix,·trim,·update,·short-report,·report,·disable).</p>·<p>Snapshot·comparisons·return·always·<code>True</code>·if·you·use·one·of·the·flags·create,·fix·or·review.·This·is·necessary·because·the·whole·test·needs·to·be·run·to·fix·all·snapshots·like·in·this·case:</p>·<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot(5)\n····assert·2·<=·snapshot(5)\n</code></pre>·<p>Note</p>·<p>Every·flag·with·the·exception·of·disable·and·short-report·disables·the·pytest·assert-rewriting.</p>", | 599 | ············"text":·"<p>inline-snapshot·provides·one·pytest·option·with·different·flags·(create,·fix,·trim,·update,·short-report,·report,·disable).</p>·<p>Snapshot·comparisons·return·always·<code>True</code>·if·you·use·one·of·the·flags·create,·fix·or·review.·This·is·necessary·because·the·whole·test·needs·to·be·run·to·fix·all·snapshots·like·in·this·case:</p>·<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot(5)\n····assert·2·<=·snapshot(5)\n</code></pre>·<p>Note</p>·<p>Every·flag·with·the·exception·of·disable·and·short-report·disables·the·pytest·assert-rewriting.</p>", |
600 | ············"title":·"pytest·integration" | 600 | ············"title":·"pytest·integration" |
601 | ········}, | 601 | ········}, |
602 | ········{ | 602 | ········{ |
603 | ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate", | 603 | ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate", |
604 | ············"text":·"<p>Approve·the·changes·of·the·given·category.·These·flags·can·be·combined·with·report·and·review.</p>·test_something.py<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot()\n····assert·2·<=·snapshot(5)\n</code></pre>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=create,report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report\n··inifile:·None\n··rootdir:·/tmp/tmp. | 604 | ············"text":·"<p>Approve·the·changes·of·the·given·category.·These·flags·can·be·combined·with·report·and·review.</p>·test_something.py<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot()\n····assert·2·<=·snapshot(5)\n</code></pre>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=create,report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report\n··inifile:·None\n··rootdir:·/tmp/tmp.2CGgW30NT4\n\u001b[0m\n</code></pre>", |
605 | ············"title":·"--inline-snapshot=create,fix,trim,update" | 605 | ············"title":·"--inline-snapshot=create,fix,trim,update" |
606 | ········}, | 606 | ········}, |
607 | ········{ | 607 | ········{ |
608 | ············"location":·"pytest.html#-inline-snapshotshort-report", | 608 | ············"location":·"pytest.html#-inline-snapshotshort-report", |
609 | ············"text":·"<p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=short-report\n\u001b[0menvironment:·line·10:·python:·command·not·found\n</code></pre>·<p>Info</p>·<p>short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled·pytest·assert-rewriting.·This·option·will·be·replaced·with·report·when·this·restriction·is·lifted.</p>", | 609 | ············"text":·"<p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=short-report\n\u001b[0menvironment:·line·10:·python:·command·not·found\n</code></pre>·<p>Info</p>·<p>short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled·pytest·assert-rewriting.·This·option·will·be·replaced·with·report·when·this·restriction·is·lifted.</p>", |
610 | ············"title":·"--inline-snapshot=short-report" | 610 | ············"title":·"--inline-snapshot=short-report" |
611 | ········}, | 611 | ········}, |
612 | ········{ | 612 | ········{ |
613 | ············"location":·"pytest.html#-inline-snapshotreport", | 613 | ············"location":·"pytest.html#-inline-snapshotreport", |
614 | ············"text":·"<p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=report\n··inifile:·None\n··rootdir:·/tmp/tmp. | 614 | ············"text":·"<p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=report\n··inifile:·None\n··rootdir:·/tmp/tmp.8j1Xh4qx3s\n\u001b[0m\n</code></pre>", |
615 | ············"title":·"--inline-snapshot=report" | 615 | ············"title":·"--inline-snapshot=report" |
616 | ········}, | 616 | ········}, |
617 | ········{ | 617 | ········{ |
618 | ············"location":·"pytest.html#-inline-snapshotreview", | 618 | ············"location":·"pytest.html#-inline-snapshotreview", |
619 | ············"text":·"<p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=review\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=review\n··inifile:·None\n··rootdir:·/tmp/tmp. | 619 | ············"text":·"<p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>·<pre><code>\u001b[1;34m>·pytest·test_something.py·--inline-snapshot=review\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=review\n··inifile:·None\n··rootdir:·/tmp/tmp.DumeU3dvSu\n\u001b[0m\n</code></pre>", |
620 | ············"title":·"--inline-snapshot=review" | 620 | ············"title":·"--inline-snapshot=review" |
621 | ········}, | 621 | ········}, |
622 | ········{ | 622 | ········{ |
623 | ············"location":·"pytest.html#-inline-snapshotdisable", | 623 | ············"location":·"pytest.html#-inline-snapshotdisable", |
624 | ············"text":·"<p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.·This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p>·<p>deprecation</p>·<p>This·option·was·previously·called·<code>--inline-snapshot-disable</code></p>", | 624 | ············"text":·"<p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.·This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p>·<p>deprecation</p>·<p>This·option·was·previously·called·<code>--inline-snapshot-disable</code></p>", |
625 | ············"title":·"--inline-snapshot=disable" | 625 | ············"title":·"--inline-snapshot=disable" |
626 | ········}, | 626 | ········}, |