From 8e4eaec94c758ff84d6202c6d6e8700cd470acdb Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 16 Jun 2011 13:08:30 +0100 Subject: [PATCH] Test for a actual invalid URL --- app/eve_proxy/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/eve_proxy/tests.py b/app/eve_proxy/tests.py index 0163605..fb47f47 100644 --- a/app/eve_proxy/tests.py +++ b/app/eve_proxy/tests.py @@ -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)