From 988328495d39fbb6736ba5a6dc82d69a8e5333e3 Mon Sep 17 00:00:00 2001 From: Andrii Andreiev <129078694+AndriiAndreiev@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:37:07 +0300 Subject: [PATCH] Fix test mask --- .../python/readme_metrics/tests/PayloadBuilder_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/python/readme_metrics/tests/PayloadBuilder_test.py b/packages/python/readme_metrics/tests/PayloadBuilder_test.py index d31677aae8..348e6555dd 100644 --- a/packages/python/readme_metrics/tests/PayloadBuilder_test.py +++ b/packages/python/readme_metrics/tests/PayloadBuilder_test.py @@ -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: