ensure secret string is a byte string as requests response.body is always bytes (str in Python 2)
@@ -42,8 +42,8 @@ __all__ = [
]
-SUPER_SECRET_PARAMETER = 'SUPER_SECRET_PARAMETER_THAT_SHOULD_NEVER_APPEAR_IN_RESPONSES_OR_LOGS'
-ANOTHER_SUPER_SECRET_PARAMETER = 'ANOTHER_SUPER_SECRET_PARAMETER_TO_TEST_OVERRIDING'
+SUPER_SECRET_PARAMETER = b'SUPER_SECRET_PARAMETER_THAT_SHOULD_NEVER_APPEAR_IN_RESPONSES_OR_LOGS'
+ANOTHER_SUPER_SECRET_PARAMETER = b'ANOTHER_SUPER_SECRET_PARAMETER_TO_TEST_OVERRIDING'
class ResponseValidationError(ValueError):
