52.8 KB
/srv/reproducible-results/rbuild-debian/r-b-build.PgLbMgRM/b1/python-inline-snapshot_0.22.3-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.PgLbMgRM/b2/python-inline-snapshot_0.22.3-1_arm64.changes
324 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·9241bb36b1b043ae3a1a009cf4b3cc71·706704·doc·optional·python-inline-snapshot-doc_0.22.3-1_all.deb1 ·98d483da743542f5660d2a95f7f9bcf7·706696·doc·optional·python-inline-snapshot-doc_0.22.3-1_all.deb
2 ·dd902da5ab7e5b5c3bd535a9a8c3676e·40892·python·optional·python3-inline-snapshot_0.22.3-1_all.deb2 ·dd902da5ab7e5b5c3bd535a9a8c3676e·40892·python·optional·python3-inline-snapshot_0.22.3-1_all.deb
52.2 KB
python-inline-snapshot-doc_0.22.3-1_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2025-04-16·12:16:02.000000·debian-binary1 -rw-r--r--···0········0········0········4·2025-04-16·12:16:02.000000·debian-binary
2 -rw-r--r--···0········0········0·····3156·2025-04-16·12:16:02.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3156·2025-04-16·12:16:02.000000·control.tar.xz
3 -rw-r--r--···0········0········0···703356·2025-04-16·12:16:02.000000·data.tar.xz3 -rw-r--r--···0········0········0···703348·2025-04-16·12:16:02.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
51.7 KB
data.tar.xz
51.7 KB
data.tar
21.8 KB
./usr/share/doc/python-inline-snapshot-doc/html/pytest.html
    
Offset 1266, 15 lines modifiedOffset 1266, 15 lines modified
1266 <a·id="__codelineno-1-4"·name="__codelineno-1-4"·href="#__codelineno-1-4"></a><span·class="k">def</span>·<span·class="nf">test_something</span><span·class="p">():</span>1266 <a·id="__codelineno-1-4"·name="__codelineno-1-4"·href="#__codelineno-1-4"></a><span·class="k">def</span>·<span·class="nf">test_something</span><span·class="p">():</span>
1267 <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>1267 <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>
1268 <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">&lt;=</span>·<span·class="n">snapshot</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">)</span>1268 <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">&lt;=</span>·<span·class="n">snapshot</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">)</span>
1269 </code></pre></div>1269 </code></pre></div>
1270 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=create,report</span>1270 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=create,report</span>
1271 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>1271 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>
1272 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.01272 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
1273 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.aKKulLJDiq1273 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.ruu93eto56
1274 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.51274 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
1275 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item1275 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item
1276 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>1276 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>
1277 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>1277 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>
1278 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>1278 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>
1279 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════1279 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════
1280 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>───────────────────────────────·Create·snapshots·───────────────────────────────1280 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>───────────────────────────────·Create·snapshots·───────────────────────────────
Offset 1307, 22 lines modifiedOffset 1307, 22 lines modified
1307 <a·id="__codelineno-0-38"·name="__codelineno-0-38"·href="#__codelineno-0-38"></a>1307 <a·id="__codelineno-0-38"·name="__codelineno-0-38"·href="#__codelineno-0-38"></a>
1308 <a·id="__codelineno-0-39"·name="__codelineno-0-39"·href="#__codelineno-0-39"></a>1308 <a·id="__codelineno-0-39"·name="__codelineno-0-39"·href="#__codelineno-0-39"></a>
1309 <a·id="__codelineno-0-40"·name="__codelineno-0-40"·href="#__codelineno-0-40"></a>====================================·ERRORS·====================================1309 <a·id="__codelineno-0-40"·name="__codelineno-0-40"·href="#__codelineno-0-40"></a>====================================·ERRORS·====================================
1310 <a·id="__codelineno-0-41"·name="__codelineno-0-41"·href="#__codelineno-0-41"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>1310 <a·id="__codelineno-0-41"·name="__codelineno-0-41"·href="#__codelineno-0-41"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>
1311 <a·id="__codelineno-0-42"·name="__codelineno-0-42"·href="#__codelineno-0-42"></a>your·snapshot·is·missing·one·value.1311 <a·id="__codelineno-0-42"·name="__codelineno-0-42"·href="#__codelineno-0-42"></a>your·snapshot·is·missing·one·value.
1312 <a·id="__codelineno-0-43"·name="__codelineno-0-43"·href="#__codelineno-0-43"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>1312 <a·id="__codelineno-0-43"·name="__codelineno-0-43"·href="#__codelineno-0-43"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>
1313 <a·id="__codelineno-0-44"·name="__codelineno-0-44"·href="#__codelineno-0-44"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.1313 <a·id="__codelineno-0-44"·name="__codelineno-0-44"·href="#__codelineno-0-44"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.
1314 <a·id="__codelineno-0-45"·name="__codelineno-0-45"·href="#__codelineno-0-45"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.23s·==========================</span>1314 <a·id="__codelineno-0-45"·name="__codelineno-0-45"·href="#__codelineno-0-45"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.71s·==========================</span>
1315 </code></pre></div>1315 </code></pre></div>
1316 <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">&para;</a></h2>1316 <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">&para;</a></h2>
1317 <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>1317 <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>
1318 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=short-report</span>1318 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=short-report</span>
1319 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>1319 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>
1320 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.01320 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
1321 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.G0DSRrfZM81321 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.EGGmIthvP9
1322 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.51322 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
1323 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item1323 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item
1324 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>1324 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>
1325 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>1325 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>
1326 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>1326 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>
1327 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════1327 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════
1328 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>Info:·one·snapshot·can·be·trimmed·(--inline-snapshot=trim)1328 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>Info:·one·snapshot·can·be·trimmed·(--inline-snapshot=trim)
Offset 1332, 27 lines modifiedOffset 1332, 27 lines modified
1332 <a·id="__codelineno-0-15"·name="__codelineno-0-15"·href="#__codelineno-0-15"></a>1332 <a·id="__codelineno-0-15"·name="__codelineno-0-15"·href="#__codelineno-0-15"></a>
1333 <a·id="__codelineno-0-16"·name="__codelineno-0-16"·href="#__codelineno-0-16"></a>1333 <a·id="__codelineno-0-16"·name="__codelineno-0-16"·href="#__codelineno-0-16"></a>
1334 <a·id="__codelineno-0-17"·name="__codelineno-0-17"·href="#__codelineno-0-17"></a>====================================·ERRORS·====================================1334 <a·id="__codelineno-0-17"·name="__codelineno-0-17"·href="#__codelineno-0-17"></a>====================================·ERRORS·====================================
1335 <a·id="__codelineno-0-18"·name="__codelineno-0-18"·href="#__codelineno-0-18"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>1335 <a·id="__codelineno-0-18"·name="__codelineno-0-18"·href="#__codelineno-0-18"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>
1336 <a·id="__codelineno-0-19"·name="__codelineno-0-19"·href="#__codelineno-0-19"></a>your·snapshot·is·missing·one·value.1336 <a·id="__codelineno-0-19"·name="__codelineno-0-19"·href="#__codelineno-0-19"></a>your·snapshot·is·missing·one·value.
1337 <a·id="__codelineno-0-20"·name="__codelineno-0-20"·href="#__codelineno-0-20"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>1337 <a·id="__codelineno-0-20"·name="__codelineno-0-20"·href="#__codelineno-0-20"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>
1338 <a·id="__codelineno-0-21"·name="__codelineno-0-21"·href="#__codelineno-0-21"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.1338 <a·id="__codelineno-0-21"·name="__codelineno-0-21"·href="#__codelineno-0-21"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.
1339 <a·id="__codelineno-0-22"·name="__codelineno-0-22"·href="#__codelineno-0-22"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.19s·==========================</span>1339 <a·id="__codelineno-0-22"·name="__codelineno-0-22"·href="#__codelineno-0-22"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.71s·==========================</span>
1340 </code></pre></div>1340 </code></pre></div>
1341 <div·class="admonition·info">1341 <div·class="admonition·info">
1342 <p·class="admonition-title">Info</p>1342 <p·class="admonition-title">Info</p>
1343 <p>short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled·pytest·assert-rewriting.1343 <p>short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled·pytest·assert-rewriting.
1344 This·option·will·be·replaced·with·<em>report</em>·when·this·restriction·is·lifted.</p>1344 This·option·will·be·replaced·with·<em>report</em>·when·this·restriction·is·lifted.</p>
1345 </div>1345 </div>
1346 <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">&para;</a></h2>1346 <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">&para;</a></h2>
1347 <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>1347 <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>
1348 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=report</span>1348 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=report</span>
1349 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>1349 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>
1350 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.01350 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
1351 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.TWj8oUsUHI1351 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.6SMEfknUVO
1352 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.51352 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
1353 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item1353 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item
1354 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>1354 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>
1355 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>1355 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>
1356 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>1356 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>
1357 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════1357 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════
1358 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>───────────────────────────────·Create·snapshots·───────────────────────────────1358 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>───────────────────────────────·Create·snapshots·───────────────────────────────
Offset 1387, 22 lines modifiedOffset 1387, 22 lines modified
1387 <a·id="__codelineno-0-40"·name="__codelineno-0-40"·href="#__codelineno-0-40"></a>1387 <a·id="__codelineno-0-40"·name="__codelineno-0-40"·href="#__codelineno-0-40"></a>
1388 <a·id="__codelineno-0-41"·name="__codelineno-0-41"·href="#__codelineno-0-41"></a>1388 <a·id="__codelineno-0-41"·name="__codelineno-0-41"·href="#__codelineno-0-41"></a>
1389 <a·id="__codelineno-0-42"·name="__codelineno-0-42"·href="#__codelineno-0-42"></a>====================================·ERRORS·====================================1389 <a·id="__codelineno-0-42"·name="__codelineno-0-42"·href="#__codelineno-0-42"></a>====================================·ERRORS·====================================
1390 <a·id="__codelineno-0-43"·name="__codelineno-0-43"·href="#__codelineno-0-43"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>1390 <a·id="__codelineno-0-43"·name="__codelineno-0-43"·href="#__codelineno-0-43"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>
1391 <a·id="__codelineno-0-44"·name="__codelineno-0-44"·href="#__codelineno-0-44"></a>your·snapshot·is·missing·one·value.1391 <a·id="__codelineno-0-44"·name="__codelineno-0-44"·href="#__codelineno-0-44"></a>your·snapshot·is·missing·one·value.
1392 <a·id="__codelineno-0-45"·name="__codelineno-0-45"·href="#__codelineno-0-45"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>1392 <a·id="__codelineno-0-45"·name="__codelineno-0-45"·href="#__codelineno-0-45"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>
1393 <a·id="__codelineno-0-46"·name="__codelineno-0-46"·href="#__codelineno-0-46"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.1393 <a·id="__codelineno-0-46"·name="__codelineno-0-46"·href="#__codelineno-0-46"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.
1394 <a·id="__codelineno-0-47"·name="__codelineno-0-47"·href="#__codelineno-0-47"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.30s·==========================</span>1394 <a·id="__codelineno-0-47"·name="__codelineno-0-47"·href="#__codelineno-0-47"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.92s·==========================</span>
1395 </code></pre></div>1395 </code></pre></div>
1396 <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">&para;</a></h2>1396 <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">&para;</a></h2>
1397 <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>1397 <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>
1398 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=review</span>1398 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Blue">&gt;·pytest·test_something.py·--inline-snapshot=review</span>
1399 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>1399 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a><span·class="·-Color·-Color-Bold">=============================·test·session·starts·==============================</span>
1400 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.01400 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
1401 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.APoZcyby951401 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>rootdir:·/tmp/tmp.xU46YVZHBC
1402 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.51402 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
1403 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item1403 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>collected·1·item
1404 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>1404 <a·id="__codelineno-0-7"·name="__codelineno-0-7"·href="#__codelineno-0-7"></a>
1405 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>1405 <a·id="__codelineno-0-8"·name="__codelineno-0-8"·href="#__codelineno-0-8"></a>test_something.py·<span·class="·-Color·-Color-Green">.</span><span·class="·-Color·-Color-Red">E·····················································[100%]</span>
1406 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>1406 <a·id="__codelineno-0-9"·name="__codelineno-0-9"·href="#__codelineno-0-9"></a>
1407 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════1407 <a·id="__codelineno-0-10"·name="__codelineno-0-10"·href="#__codelineno-0-10"></a>═══════════════════════════════·inline-snapshot·════════════════════════════════
1408 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>───────────────────────────────·Create·snapshots·───────────────────────────────1408 <a·id="__codelineno-0-11"·name="__codelineno-0-11"·href="#__codelineno-0-11"></a>───────────────────────────────·Create·snapshots·───────────────────────────────
Offset 1431, 15 lines modifiedOffset 1431, 15 lines modified
1431 <a·id="__codelineno-0-34"·name="__codelineno-0-34"·href="#__codelineno-0-34"></a>1431 <a·id="__codelineno-0-34"·name="__codelineno-0-34"·href="#__codelineno-0-34"></a>
1432 <a·id="__codelineno-0-35"·name="__codelineno-0-35"·href="#__codelineno-0-35"></a>1432 <a·id="__codelineno-0-35"·name="__codelineno-0-35"·href="#__codelineno-0-35"></a>
1433 <a·id="__codelineno-0-36"·name="__codelineno-0-36"·href="#__codelineno-0-36"></a>====================================·ERRORS·====================================1433 <a·id="__codelineno-0-36"·name="__codelineno-0-36"·href="#__codelineno-0-36"></a>====================================·ERRORS·====================================
1434 <a·id="__codelineno-0-37"·name="__codelineno-0-37"·href="#__codelineno-0-37"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>1434 <a·id="__codelineno-0-37"·name="__codelineno-0-37"·href="#__codelineno-0-37"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Red">_____________________·ERROR·at·teardown·of·test_something·______________________</span>
1435 <a·id="__codelineno-0-38"·name="__codelineno-0-38"·href="#__codelineno-0-38"></a>your·snapshot·is·missing·one·value.1435 <a·id="__codelineno-0-38"·name="__codelineno-0-38"·href="#__codelineno-0-38"></a>your·snapshot·is·missing·one·value.
1436 <a·id="__codelineno-0-39"·name="__codelineno-0-39"·href="#__codelineno-0-39"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>1436 <a·id="__codelineno-0-39"·name="__codelineno-0-39"·href="#__codelineno-0-39"></a><span·class="·-Color·-Color-Bold·-Color-Bold-Cyan">===========================·short·test·summary·info·============================</span>
1437 <a·id="__codelineno-0-40"·name="__codelineno-0-40"·href="#__codelineno-0-40"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.1437 <a·id="__codelineno-0-40"·name="__codelineno-0-40"·href="#__codelineno-0-40"></a><span·class="·-Color·-Color-Red">ERROR</span>·test_something.py::<span·class="·-Color·-Color-Bold">test_something</span>·-·Failed:·your·snapshot·is·missing·one·value.
1438 <a·id="__codelineno-0-41"·name="__codelineno-0-41"·href="#__codelineno-0-41"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.22s·==========================</span>1438 <a·id="__codelineno-0-41"·name="__codelineno-0-41"·href="#__codelineno-0-41"></a><span·class="·-Color·-Color-Red">==========================·</span><span·class="·-Color·-Color-Green">1·passed</span>,·<span·class="·-Color·-Color-Bold·-Color-Bold-Red">1·error</span><span·class="·-Color·-Color-Red">·in·0.86s·==========================</span>
1439 </code></pre></div>1439 </code></pre></div>
1440 <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">&para;</a></h2>1440 <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">&para;</a></h2>
1441 <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.1441 <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.
1442 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>1442 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>
1443 <div·class="admonition·info">1443 <div·class="admonition·info">
1444 <p·class="admonition-title">deprecation</p>1444 <p·class="admonition-title">deprecation</p>
1445 <p>This·option·was·previously·called·<code>--inline-snapshot-disable</code></p>1445 <p>This·option·was·previously·called·<code>--inline-snapshot-disable</code></p>
5.11 KB
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 def·test_something():77 def·test_something():
78 ····assert·1·==·snapshot()78 ····assert·1·==·snapshot()
79 ····assert·2·<=·snapshot(5)79 ····assert·2·<=·snapshot(5)
80 >·pytest·test_something.py·--inline-snapshot=create,report80 >·pytest·test_something.py·--inline-snapshot=create,report
81 =============================·test·session·starts81 =============================·test·session·starts
82 ==============================82 ==============================
83 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.083 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
84 rootdir:·/tmp/tmp.aKKulLJDiq84 rootdir:·/tmp/tmp.ruu93eto56
85 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-85 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-
86 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.586 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
87 collected·1·item87 collected·1·item
  
88 test_something.py·.E·····················································[100%]88 test_something.py·.E·····················································[100%]
  
89 ═══════════════════════════════·inline-snapshot89 ═══════════════════════════════·inline-snapshot
Offset 145, 23 lines modifiedOffset 145, 23 lines modified
145 _____________________·ERROR·at·teardown·of·test_something145 _____________________·ERROR·at·teardown·of·test_something
146 ______________________146 ______________________
147 your·snapshot·is·missing·one·value.147 your·snapshot·is·missing·one·value.
148 ===========================·short·test·summary·info148 ===========================·short·test·summary·info
149 ============================149 ============================
150 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one150 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one
151 value.151 value.
152 ==========================·1·passed,·1·error·in·0.23s152 ==========================·1·passed,·1·error·in·0.71s
153 ==========================153 ==========================
154 *\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*154 *\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*
155 give·a·short·report·over·which·changes·can·be·made·to·the·snapshots155 give·a·short·report·over·which·changes·can·be·made·to·the·snapshots
156 >·pytest·test_something.py·--inline-snapshot=short-report156 >·pytest·test_something.py·--inline-snapshot=short-report
157 =============================·test·session·starts157 =============================·test·session·starts
158 ==============================158 ==============================
159 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0159 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
160 rootdir:·/tmp/tmp.G0DSRrfZM8160 rootdir:·/tmp/tmp.EGGmIthvP9
161 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-161 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-
162 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5162 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
163 collected·1·item163 collected·1·item
  
164 test_something.py·.E·····················································[100%]164 test_something.py·.E·····················································[100%]
  
165 ═══════════════════════════════·inline-snapshot165 ═══════════════════════════════·inline-snapshot
Offset 177, 27 lines modifiedOffset 177, 27 lines modified
177 _____________________·ERROR·at·teardown·of·test_something177 _____________________·ERROR·at·teardown·of·test_something
178 ______________________178 ______________________
179 your·snapshot·is·missing·one·value.179 your·snapshot·is·missing·one·value.
180 ===========================·short·test·summary·info180 ===========================·short·test·summary·info
181 ============================181 ============================
182 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one182 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one
183 value.183 value.
184 ==========================·1·passed,·1·error·in·0.19s184 ==========================·1·passed,·1·error·in·0.71s
185 ==========================185 ==========================
186 Info186 Info
187 short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled187 short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled
188 pytest·assert-rewriting.·This·option·will·be·replaced·with·r\x8re\x8ep\x8po\x8or\x8rt\x8t·when·this188 pytest·assert-rewriting.·This·option·will·be·replaced·with·r\x8re\x8ep\x8po\x8or\x8rt\x8t·when·this
189 restriction·is·lifted.189 restriction·is·lifted.
190 *\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*190 *\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*
191 Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots191 Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots
192 >·pytest·test_something.py·--inline-snapshot=report192 >·pytest·test_something.py·--inline-snapshot=report
193 =============================·test·session·starts193 =============================·test·session·starts
194 ==============================194 ==============================
195 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0195 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
196 rootdir:·/tmp/tmp.TWj8oUsUHI196 rootdir:·/tmp/tmp.6SMEfknUVO
197 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-197 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-
198 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5198 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
199 collected·1·item199 collected·1·item
  
200 test_something.py·.E·····················································[100%]200 test_something.py·.E·····················································[100%]
  
201 ═══════════════════════════════·inline-snapshot201 ═══════════════════════════════·inline-snapshot
Offset 259, 23 lines modifiedOffset 259, 23 lines modified
259 _____________________·ERROR·at·teardown·of·test_something259 _____________________·ERROR·at·teardown·of·test_something
260 ______________________260 ______________________
261 your·snapshot·is·missing·one·value.261 your·snapshot·is·missing·one·value.
262 ===========================·short·test·summary·info262 ===========================·short·test·summary·info
263 ============================263 ============================
264 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one264 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one
265 value.265 value.
266 ==========================·1·passed,·1·error·in·0.30s266 ==========================·1·passed,·1·error·in·0.92s
267 ==========================267 ==========================
268 *\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*268 *\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*
269 Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes269 Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes
270 >·pytest·test_something.py·--inline-snapshot=review270 >·pytest·test_something.py·--inline-snapshot=review
271 =============================·test·session·starts271 =============================·test·session·starts
272 ==============================272 ==============================
273 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0273 platform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0
274 rootdir:·/tmp/tmp.APoZcyby95274 rootdir:·/tmp/tmp.xU46YVZHBC
275 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-275 plugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-
276 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5276 0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5
277 collected·1·item277 collected·1·item
  
278 test_something.py·.E·····················································[100%]278 test_something.py·.E·····················································[100%]
  
279 ═══════════════════════════════·inline-snapshot279 ═══════════════════════════════·inline-snapshot
Offset 331, 15 lines modifiedOffset 331, 15 lines modified
331 _____________________·ERROR·at·teardown·of·test_something331 _____________________·ERROR·at·teardown·of·test_something
332 ______________________332 ______________________
333 your·snapshot·is·missing·one·value.333 your·snapshot·is·missing·one·value.
334 ===========================·short·test·summary·info334 ===========================·short·test·summary·info
335 ============================335 ============================
336 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one336 ERROR·test_something.py::test_something·-·Failed:·your·snapshot·is·missing·one
337 value.337 value.
338 ==========================·1·passed,·1·error·in·0.22s338 ==========================·1·passed,·1·error·in·0.86s
339 ==========================339 ==========================
340 *\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*340 *\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*
341 Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be341 Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be
342 used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,342 used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,
343 or·if·you·want·to·speedup·your·CI.343 or·if·you·want·to·speedup·your·CI.
344 deprecation344 deprecation
345 This·option·was·previously·called·--inline-snapshot-disable345 This·option·was·previously·called·--inline-snapshot-disable
29.9 KB
./usr/share/doc/python-inline-snapshot-doc/html/search/search_index.json
29.7 KB
Pretty-printed
Similarity: 0.9992877492877493% Differences: {"'docs'": "{218: {'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 &lt;= snapshot(5)\\n</code></pre> <pre><code>&gt; pytest test_something.py ' '--inline-snapshot=create,report\\n============================= test session starts ' '============== […]
    
Offset 1097, 30 lines modifiedOffset 1097, 30 lines modified
1097 ········{1097 ········{
1098 ············"location":·"pytest.html",1098 ············"location":·"pytest.html",
1099 ············"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·&lt;=·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>",1099 ············"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·&lt;=·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>",
1100 ············"title":·"pytest·integration"1100 ············"title":·"pytest·integration"
1101 ········},1101 ········},
1102 ········{1102 ········{
1103 ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate",1103 ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate",
1104 ············"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·&lt;=·snapshot(5)\n</code></pre>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=create,report\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.aKKulLJDiq\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·3364,·SHA:·a1805b0715569a317f4b3300642f2743dc9bd903460c9e226f54387f7b86d236·...·]s·==========================\n</code></pre>",1104 ············"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·&lt;=·snapshot(5)\n</code></pre>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=create,report\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.ruu93eto56\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·3364,·SHA:·36fd6d9e831a790c1e4d4c483012735f74668d3ed5c0a495e1412f436b0af0d5·...·]s·==========================\n</code></pre>",
1105 ············"title":·"--inline-snapshot=create,fix,trim,update"1105 ············"title":·"--inline-snapshot=create,fix,trim,update"
1106 ········},1106 ········},
1107 ········{1107 ········{
1108 ············"location":·"pytest.html#-inline-snapshotshort-report",1108 ············"location":·"pytest.html#-inline-snapshotshort-report",
1109 ············"text":·"<p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=short-report\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.G0DSRrfZM8\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·1017,·SHA:·4184b335fc1c98360b143909b460bf1dddde854648bc7aab6de770b363a07ede·...·]s·==========================\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>",1109 ············"text":·"<p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=short-report\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.EGGmIthvP9\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·1017,·SHA:·c330bd898f927c9f225a58066ff54f5cdd83d976788692c9eeb75863f45941ac·...·]s·==========================\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>",
1110 ············"title":·"--inline-snapshot=short-report"1110 ············"title":·"--inline-snapshot=short-report"
1111 ········},1111 ········},
1112 ········{1112 ········{
1113 ············"location":·"pytest.html#-inline-snapshotreport",1113 ············"location":·"pytest.html#-inline-snapshotreport",
1114 ············"text":·"<p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=report\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.TWj8oUsUHI\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·3445,·SHA:·2352504a3e32d424324af80e1be73706b484243b92673a4649a78a2b92eeb394·...·]s·==========================\n</code></pre>",1114 ············"text":·"<p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=report\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.6SMEfknUVO\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·3445,·SHA:·b77fe784d0eff1b35c4c93defdce7284a755344606325a5a025bc61898422c7a·...·]s·==========================\n</code></pre>",
1115 ············"title":·"--inline-snapshot=report"1115 ············"title":·"--inline-snapshot=report"
1116 ········},1116 ········},
1117 ········{1117 ········{
1118 ············"location":·"pytest.html#-inline-snapshotreview",1118 ············"location":·"pytest.html#-inline-snapshotreview",
1119 ············"text":·"<p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=review\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.APoZcyby95\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·3271,·SHA:·c8b5ac437da71fe343fb89636c5c8a29a8fd508a989b3154e63af87e74c28363·...·]s·==========================\n</code></pre>",1119 ············"text":·"<p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>·<pre><code>&gt;·pytest·test_something.py·--inline-snapshot=review\n=============================·test·session·starts·==============================\nplatform·linux·--·Python·3.13.3,·pytest-8.3.5,·pluggy-1.5.0\nrootdir:·/tmp/tmp.xU46YVZHBC\nplugins:·time-machine-2.16.0,·subtests-0.13.1,·mock-3.14.0,·pytest_freezer-0.4.9,·inline-snapshot-0.22.3,·hypothesis-6.130.5\ncollected·1·item\n\ntest_something.py·.E·····················································[100%]\n\n\u2550\u2550\u2[·...·truncated·by·diffoscope;·len:·3271,·SHA:·3a429c83cc9d29df5e6609658bc1f4f3b8e75a5e91c9d02cad924fac4b4e6d3e·...·]s·==========================\n</code></pre>",
1120 ············"title":·"--inline-snapshot=review"1120 ············"title":·"--inline-snapshot=review"
1121 ········},1121 ········},
1122 ········{1122 ········{
1123 ············"location":·"pytest.html#-inline-snapshotdisable",1123 ············"location":·"pytest.html#-inline-snapshotdisable",
1124 ············"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>",1124 ············"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>",
1125 ············"title":·"--inline-snapshot=disable"1125 ············"title":·"--inline-snapshot=disable"
1126 ········},1126 ········},