(self)
| 337 | ) == b"hello\n" |
| 338 | |
| 339 | def test_diff(self): |
| 340 | client = docker.from_env(version=TEST_API_VERSION) |
| 341 | container = client.containers.run("alpine", "touch /test", detach=True) |
| 342 | self.tmp_containers.append(container.id) |
| 343 | container.wait() |
| 344 | assert container.diff() == [{'Path': '/test', 'Kind': 1}] |
| 345 | |
| 346 | def test_exec_run_success(self): |
| 347 | client = docker.from_env(version=TEST_API_VERSION) |