mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
11 lines
310 B
Python
11 lines
310 B
Python
from django.test import TestCase
|
|
|
|
from sentry.utils.auth import parse_auth_header
|
|
|
|
|
|
class UtilsTestCase(TestCase):
|
|
def test_parse_header(self):
|
|
self.assertEquals(
|
|
{"sentry_key": "foo", "sentry_version": "bar"},
|
|
parse_auth_header('Sentry sentry_key=foo,sentry_version=bar'))
|