mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 12:19:29 +00:00
Test for a actual invalid URL
This commit is contained in:
@@ -64,7 +64,7 @@ class CachedDocumentTestCase(unittest.TestCase):
|
||||
def testInvalidApiQuery(self):
|
||||
""" Attempts to request a invalid EVE API endpoint """
|
||||
|
||||
url = '/server/ServerStatus.xml.aspx'
|
||||
url = '/invalidrequest'
|
||||
|
||||
with self.assertRaises(DocumentRetrievalError):
|
||||
obj = CachedDocument.objects.api_query(url, no_cache=True)
|
||||
|
||||
Reference in New Issue
Block a user