(self)
| 138 | assert data.decode('utf-8') == line |
| 139 | |
| 140 | def test_exec_start_detached(self): |
| 141 | container = self.client.create_container(TEST_IMG, 'cat', |
| 142 | detach=True, stdin_open=True) |
| 143 | container_id = container['Id'] |
| 144 | self.client.start(container_id) |
| 145 | self.tmp_containers.append(container_id) |
| 146 | |
| 147 | exec_id = self.client.exec_create( |
| 148 | container_id, ['printf', "asdqwe"]) |
| 149 | assert 'Id' in exec_id |
| 150 | |
| 151 | response = self.client.exec_start(exec_id, detach=True) |
| 152 | |
| 153 | assert response == "" |
| 154 | |
| 155 | def test_exec_inspect(self): |
| 156 | container = self.client.create_container(TEST_IMG, 'cat', |
nothing calls this directly
no test coverage detected