We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470eff4 commit 7916fdaCopy full SHA for 7916fda
python/example-pytest-selfie/tests/binary_test.py
@@ -52,10 +52,8 @@ def test_base64_mismatch():
52
expect_selfie(b"test data").to_be_base64("AAAA")
53
expect_selfie(
54
safify(str(exc_info.value))
55
- ).to_be("""Snapshot mismatch, TODO: string comparison
56
-- update this snapshot by adding `_TODO` to the function name
57
-- update all snapshots in this file by adding `#safewordonce` or `#safewordWRITE`""")
+ ).to_be("Snapshot mismatch, TODO: string comparison")
58
59
def safify(string: str) -> str:
60
- return string.replace("selfie", "safeword").replace("SELFIE", "safeword")
+ return string.split("\n")[0]
61
0 commit comments