(**kwargs)
| 96 | |
| 97 | |
| 98 | def create_session(**kwargs): |
| 99 | # Create a Session object. By default, |
| 100 | # the _LOADER object is used as the loader |
| 101 | # so that we reused the same models across tests. |
| 102 | session = botocore.session.Session(**kwargs) |
| 103 | session.register_component('data_loader', _LOADER) |
| 104 | session.set_config_variable('credentials_file', 'noexist/foo/botocore') |
| 105 | return session |
| 106 | |
| 107 | |
| 108 | def get_botocore_default_config_mapping(): |