mirror of
https://github.com/hellosteadman/bambu-buffer.git
synced 2025-05-04 16:29:51 +00:00
12 lines
351 B
Python
12 lines
351 B
Python
from django.test import TestCase
|
|
from django.test.client import RequestFactory
|
|
from bambu_buffer.views import auth
|
|
|
|
class AuthorisationTestCase(TestCase):
|
|
def setUp(self):
|
|
self.client = RequestFactory()
|
|
|
|
def test_authorisation(self):
|
|
request = self.client.get('/buffer/auth/')
|
|
response = auth(request)
|
|
response
|