(self)
| 76 | os.environ.update(self.os_environ) |
| 77 | |
| 78 | def test_kwargs_from_env_empty(self): |
| 79 | os.environ.update(DOCKER_HOST='', |
| 80 | DOCKER_CERT_PATH='') |
| 81 | os.environ.pop('DOCKER_TLS_VERIFY', None) |
| 82 | |
| 83 | kwargs = kwargs_from_env() |
| 84 | assert kwargs.get('base_url') is None |
| 85 | assert kwargs.get('tls') is None |
| 86 | |
| 87 | def test_kwargs_from_env_tls(self): |
| 88 | os.environ.update(DOCKER_HOST='tcp://192.168.59.103:2376', |
nothing calls this directly
no test coverage detected