Skip to content
Snippets Groups Projects
Verified Commit aaff74db authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add test job

parent e30c9b9b
No related branches found
No related tags found
1 merge request!415Resolve "Serve as OAuth2 and OpenID Connect provider"
Pipeline #6855 failed
import pytest
from oauth2_provider.models import Application
pytestmark = pytest.mark.django_db
def test_application_create():
_application = Application.objects.create(
name = "Test Application",
redirect_uris = "https://example.com/redirect https://example.de/redirect",
client_type = "public",
authorization_grant_type = "authorization-code"
)
assert _application.name == "Test Application"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment