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

Specify a bogus region

parent e7a8d879
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -36,7 +36,7 @@ class TestCase(unittest.TestCase):
handle.flush()
handle.seek(0)
os.environ['AWS_SHARED_CREDENTIALS_FILE'] = handle.name
yield self.get_client(*args, **kwargs)
yield self.get_client(region='test', *args, **kwargs)
handle.close()
 
@contextlib.contextmanager
Loading
Loading
@@ -46,7 +46,7 @@ class TestCase(unittest.TestCase):
handle.flush()
handle.seek(0)
os.environ['AWS_SHARED_CREDENTIALS_FILE'] = handle.name
yield self.get_client(*args, **kwargs)
yield self.get_client(region='test', *args, **kwargs)
handle.close()
 
 
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