mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Add test for parse_auth_header
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
from django.test import TestCase
|
||||
|
||||
from sentry.utils.auth import parse_auth_header
|
||||
|
||||
|
||||
class UtilsTestCase(TestCase):
|
||||
def test_one(self):
|
||||
self.asdf
|
||||
def test_parse_header(self):
|
||||
self.assertEquals(
|
||||
{"sentry_key": "foo", "sentry_version": "bar"},
|
||||
parse_auth_header('Sentry sentry_key=foo,sentry_version=bar'))
|
||||
|
||||
Reference in New Issue
Block a user