Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rest_framework_httpsignature/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_build_signature(self):
signature_string = self.auth.build_signature(
self.KEYID, SECRET, req)
signature = re.match(
'.*signature="(.+)",?.*', signature_string).group(1)
r'.*signature="(.+)",.*', signature_string).group(1)
self.assertEqual(expected_signature, signature)


Expand Down
1 change: 0 additions & 1 deletion test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
'rest_framework_httpsignature',
)

ROOT_URLCONF = 'rest_framework_httpsignature.tests'

SECRET_KEY = 'MY PRIVATE SECRET'