File: test_custom_snapshot_name_suffix.py

package info (click to toggle)
python-syrupy 4.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,368 kB
  • sloc: python: 5,978; makefile: 3
file content (3 lines) | stat: -rw-r--r-- 193 bytes parent folder | download
1
2
3
def test_snapshot_custom_snapshot_name_suffix(snapshot):
    assert "Syrupy is amazing!" == snapshot(name="test_is_amazing")
    assert "Syrupy is awesome!" == snapshot(name="test_is_awesome")