Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·7 | 1 | ·06752950c12802ae8c744b0a14c8e382·528112·doc·optional·python-inline-snapshot-doc_0.12.1-2_all.deb |
2 | ·68096f8f9ca06c9cdeeddbfee9ecfefd·25940·python·optional·python3-inline-snapshot_0.12.1-2_all.deb | 2 | ·68096f8f9ca06c9cdeeddbfee9ecfefd·25940·python·optional·python3-inline-snapshot_0.12.1-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-09-08·07:24:48.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-09-08·07:24:48.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····2976·2024-09-08·07:24:48.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····2976·2024-09-08·07:24:48.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···5249 | 3 | -rw-r--r--···0········0········0···524944·2024-09-08·07:24:48.000000·data.tar.xz |
Offset 885, 15 lines modified | Offset 885, 15 lines modified | ||
885 | <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> | 885 | <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> |
886 | <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> | 886 | <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> |
887 | </code></pre></div> | 887 | </code></pre></div> |
888 | <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 | 888 | <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 |
889 | <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]·[...] | 889 | <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]·[...] |
890 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report | 890 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report |
891 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None | 891 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None |
892 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp. | 892 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.OM9U9B5rQY |
893 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m | 893 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m |
894 | </code></pre></div> | 894 | </code></pre></div> |
895 | <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">¶</a></h2> | 895 | <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">¶</a></h2> |
896 | <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p> | 896 | <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p> |
897 | <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 | 897 | <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 |
898 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0menvironment:·line·10:·python:·command·not·found | 898 | <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0menvironment:·line·10:·python:·command·not·found |
899 | </code></pre></div> | 899 | </code></pre></div> |
Offset 904, 24 lines modified | Offset 904, 24 lines modified | ||
904 | </div> | 904 | </div> |
905 | <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">¶</a></h2> | 905 | <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">¶</a></h2> |
906 | <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p> | 906 | <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p> |
907 | <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 | 907 | <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 |
908 | <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]·[...] | 908 | <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]·[...] |
909 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=report | 909 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=report |
910 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None | 910 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None |
911 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp. | 911 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.rWVxF5Jym3 |
912 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m | 912 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m |
913 | </code></pre></div> | 913 | </code></pre></div> |
914 | <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">¶</a></h2> | 914 | <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">¶</a></h2> |
915 | <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p> | 915 | <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p> |
916 | <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 | 916 | <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 |
917 | <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]·[...] | 917 | <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]·[...] |
918 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=review | 918 | <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=review |
919 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None | 919 | <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None |
920 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp. | 920 | <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.EQRfdoZ1aZ |
921 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m | 921 | <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m |
922 | </code></pre></div> | 922 | </code></pre></div> |
923 | <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">¶</a></h2> | 923 | <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">¶</a></h2> |
924 | <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>. | 924 | <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>. |
925 | 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> | 925 | 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> |
926 | <div·class="admonition·info"> | 926 | <div·class="admonition·info"> |
927 | <p·class="admonition-title">deprecation</p> | 927 | <p·class="admonition-title">deprecation</p> |
Offset 63, 15 lines modified | Offset 63, 15 lines modified | ||
63 | def·test_something(): | 63 | def·test_something(): |
64 | ····assert·1·==·snapshot() | 64 | ····assert·1·==·snapshot() |
65 | ····assert·2·<=·snapshot(5) | 65 | ····assert·2·<=·snapshot(5) |
66 | [1;34m>·pytest·test_something.py·--inline-snapshot=create,report | 66 | [1;34m>·pytest·test_something.py·--inline-snapshot=create,report |
67 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 67 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
68 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report | 68 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report |
69 | ··inifile:·None | 69 | ··inifile:·None |
70 | ··rootdir:·/tmp/tmp. | 70 | ··rootdir:·/tmp/tmp.OM9U9B5rQY |
71 | [0m | 71 | [0m |
72 | *\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* | 72 | *\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* |
73 | give·a·short·report·over·which·changes·can·be·made·to·the·snapshots | 73 | give·a·short·report·over·which·changes·can·be·made·to·the·snapshots |
74 | [1;34m>·pytest·test_something.py·--inline-snapshot=short-report | 74 | [1;34m>·pytest·test_something.py·--inline-snapshot=short-report |
75 | [0menvironment:·line·10:·python:·command·not·found | 75 | [0menvironment:·line·10:·python:·command·not·found |
76 | Info | 76 | Info |
77 | short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled | 77 | short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled |
Offset 79, 23 lines modified | Offset 79, 23 lines modified | ||
79 | restriction·is·lifted. | 79 | restriction·is·lifted. |
80 | *\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* | 80 | *\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* |
81 | Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots | 81 | Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots |
82 | [1;34m>·pytest·test_something.py·--inline-snapshot=report | 82 | [1;34m>·pytest·test_something.py·--inline-snapshot=report |
83 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 83 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
84 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=report | 84 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=report |
85 | ··inifile:·None | 85 | ··inifile:·None |
86 | ··rootdir:·/tmp/tmp. | 86 | ··rootdir:·/tmp/tmp.rWVxF5Jym3 |
87 | [0m | 87 | [0m |
88 | *\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* | 88 | *\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* |
89 | Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes | 89 | Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes |
90 | [1;34m>·pytest·test_something.py·--inline-snapshot=review | 90 | [1;34m>·pytest·test_something.py·--inline-snapshot=review |
91 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] | 91 | [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...] |
92 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=review | 92 | pytest:·error:·unrecognized·arguments:·--inline-snapshot=review |
93 | ··inifile:·None | 93 | ··inifile:·None |
94 | ··rootdir:·/tmp/tmp. | 94 | ··rootdir:·/tmp/tmp.EQRfdoZ1aZ |
95 | [0m | 95 | [0m |
96 | *\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* | 96 | *\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* |
97 | Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be | 97 | Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be |
98 | used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests, | 98 | used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests, |
99 | or·if·you·want·to·speedup·your·CI. | 99 | or·if·you·want·to·speedup·your·CI. |
100 | deprecation | 100 | deprecation |
101 | This·option·was·previously·called·--inline-snapshot-disable | 101 | This·option·was·previously·called·--inline-snapshot-disable |
Offset 547, 30 lines modified | Offset 547, 30 lines modified | ||
547 | ········{ | 547 | ········{ |
548 | ············"location":·"pytest.html", | 548 | ············"location":·"pytest.html", |
549 | ············"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>", | 549 | ············"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>", |
550 | ············"title":·"pytest·integration" | 550 | ············"title":·"pytest·integration" |
551 | ········}, | 551 | ········}, |
552 | ········{ | 552 | ········{ |
553 | ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate", | 553 | ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate", |
554 | ············"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. | 554 | ············"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.OM9U9B5rQY\n\u001b[0m\n</code></pre>", |
555 | ············"title":·"--inline-snapshot=create,fix,trim,update" | 555 | ············"title":·"--inline-snapshot=create,fix,trim,update" |
556 | ········}, | 556 | ········}, |
557 | ········{ | 557 | ········{ |
558 | ············"location":·"pytest.html#-inline-snapshotshort-report", | 558 | ············"location":·"pytest.html#-inline-snapshotshort-report", |
559 | ············"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>", | 559 | ············"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>", |
560 | ············"title":·"--inline-snapshot=short-report" | 560 | ············"title":·"--inline-snapshot=short-report" |
561 | ········}, | 561 | ········}, |
562 | ········{ | 562 | ········{ |
563 | ············"location":·"pytest.html#-inline-snapshotreport", | 563 | ············"location":·"pytest.html#-inline-snapshotreport", |
564 | ············"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. | 564 | ············"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.rWVxF5Jym3\n\u001b[0m\n</code></pre>", |
565 | ············"title":·"--inline-snapshot=report" | 565 | ············"title":·"--inline-snapshot=report" |
566 | ········}, | 566 | ········}, |
567 | ········{ | 567 | ········{ |
568 | ············"location":·"pytest.html#-inline-snapshotreview", | 568 | ············"location":·"pytest.html#-inline-snapshotreview", |
569 | ············"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. | 569 | ············"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.EQRfdoZ1aZ\n\u001b[0m\n</code></pre>", |
570 | ············"title":·"--inline-snapshot=review" | 570 | ············"title":·"--inline-snapshot=review" |
571 | ········}, | 571 | ········}, |
572 | ········{ | 572 | ········{ |
573 | ············"location":·"pytest.html#-inline-snapshotdisable", | 573 | ············"location":·"pytest.html#-inline-snapshotdisable", |
574 | ············"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>", | 574 | ············"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>", |
575 | ············"title":·"--inline-snapshot=disable" | 575 | ············"title":·"--inline-snapshot=disable" |
576 | ········}, | 576 | ········}, |