Skip to content

Commit

Permalink
Fix test mask
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiAndreiev committed Sep 5, 2024
1 parent ca2baee commit 9883284
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/python/readme_metrics/tests/PayloadBuilder_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ def mockStartResponse(self, status, headers):

class TestUtils:
def testMask(self):
expected = (
"sha512-ETo7x4PYUfwDcyFLGep76fo95UHsuf4CbVLGA+jqGcF0zA6XBfi5DTEiEsDDpthFPd+z4xQUCc9L7c",
"jvAzWQtA==?beef",
# pylint: disable=line-too-long
assert (
mask("deadbeef")
== "sha512-ETo7x4PYUfwDcyFLGep76fo95UHsuf4CbVLGA+jqGcF0zA6XBfi5DTEiEsDDpthFPd+z4xQUCc9L7cjvAzWQtA==?beef"
)
assert mask("deadbeef") == expected


class TestPayloadBuilder:
Expand Down

0 comments on commit 9883284

Please sign in to comment.