latest changes

This commit is contained in:
Joren de Graaf
2026-10-15 20:38:02 +02:00
parent 21f3cf09b7
commit 109ca6ef2a
45 changed files with 1463 additions and 22 deletions
+3 -1
View File
@@ -52,7 +52,9 @@ class OAuthMcpTests(TestCase):
self.assertIsNone(_verified(secret))
def test_discovery_and_project_access(self):
self.assertEqual(self.client.get('/.well-known/oauth-authorization-server').status_code, 200)
discovery = self.client.get('/.well-known/oauth-authorization-server')
self.assertEqual(discovery.status_code, 200)
self.assertIn('none', discovery.json()['token_endpoint_auth_methods_supported'])
project = create_project(self.user, name='Private')
self.assertEqual(self.client.get(f'/projects/{project.pk}/').status_code, 302)