(self)
| 692 | ) |
| 693 | |
| 694 | def test_exec_run_failure(self): |
| 695 | client = make_fake_client() |
| 696 | container = client.containers.get(FAKE_CONTAINER_ID) |
| 697 | container.exec_run("docker ps", privileged=True, stream=False) |
| 698 | client.api.exec_create.assert_called_with( |
| 699 | FAKE_CONTAINER_ID, "docker ps", stdout=True, stderr=True, |
| 700 | stdin=False, tty=False, privileged=True, user='', environment=None, |
| 701 | workdir=None, |
| 702 | ) |
| 703 | client.api.exec_start.assert_called_with( |
| 704 | FAKE_EXEC_ID, detach=False, tty=False, stream=False, socket=False, |
| 705 | demux=False, |
| 706 | ) |
| 707 | |
| 708 | def test_export(self): |
| 709 | client = make_fake_client() |
nothing calls this directly
no test coverage detected