Skip to content

Commit

Permalink
fix: quality changes
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfelipec95 committed Jun 24, 2024
1 parent 206b655 commit a88145a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions eox_tenant/test/tutor/integration_test_tutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.test import TestCase, override_settings


@override_settings(ALLOWED_HOSTS=['local.edly.io', 'testserver'], SITE_ID=2)
@override_settings(ALLOWED_HOSTS=['testserver'], SITE_ID=2)
class TutorIntegrationTestCase(TestCase):
"""
Tests integration with openedx
Expand Down Expand Up @@ -36,13 +36,10 @@ def test_info_view(self):
"""
info_view_url = f'{self.base_url}/eox-tenant/eox-info'

# Simulate a GET request to the info endpoint using the full URL
response = self.client.get(info_view_url)

# Verify the response status code
self.assertEqual(response.status_code, 200)

# Verify the response format
response_data = response.json()
self.assertIn('version', response_data)
self.assertIn('name', response_data)
Expand Down

0 comments on commit a88145a

Please sign in to comment.