Skip to content
Snippets Groups Projects
Commit 964af457 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Skip the missing test on travis

parent 05638941
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -81,6 +81,8 @@ class GetRegionTestCase(unittest.TestCase):
self.assertRaises(exceptions.NoProfileError,
config._get_region, 'foo')
 
@unittest.skipIf(os.environ.get('TRAVIS') == 'true',
'Skipping this test on Travis CI.')
def test_raises_for_missing_file(self):
os.environ['AWS_CONFIG_FILE'] = uuid.uuid4().hex
self.assertRaises(exceptions.ConfigNotFound, config._get_region,
Loading
Loading
@@ -155,6 +157,8 @@ class GetCredentialsTestCase(unittest.TestCase):
self.assertRaises(exceptions.NoCredentialsError,
config._get_credentials, 'foo')
 
@unittest.skipIf(os.environ.get('TRAVIS') == 'true',
'Skipping this test on Travis CI.')
def test_raises_for_missing_file(self):
os.environ['AWS_SHARED_CREDENTIALS_FILE'] = uuid.uuid4().hex
self.assertRaises(exceptions.ConfigNotFound, config._get_credentials,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment