-
Bug
-
Resolution: Done
-
Low
-
None
-
None
This isn't a huge deal, but all unit tests should work with local networking disabled, so that an external server failure doesn't cause a test failure. Currently, running the tests with networking disabled turns up a test that makes a request to an Amazon server:
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/leonardr/simplified/circulation/core/tests/test_log.py", line 294, in test_cloudwatch_initialization_exception eq_('Error creating logger AWS Cloudwatch Logs Unable to locate credentials', error) AssertionError: 'Error creating logger AWS Cloudwatch Logs Unable to locate credentials' != u'Error creating logger AWS Cloudwatch Logs Could not connect to the endpoint URL: "https://logs.us-west-2.amazonaws.com/"'