Hi,
I am interested in running python integration tests and/or
anything particularly useful for the group. I checked out apiv2: test using
docker-py integration tests #5386
<
https://github.com/containers/libpod/issues/5386> and am trying to
replicate the docker API tests - suitable for podman. Dont know if someone
else all over this or not. ATM I am just tying to replicate
ListContainersTest (docker-py
<
https://github.com/docker/docker-py>/api_container_test.py...
"import docker"..."import podman") a simple container list test, but
breaking here (leads almost to next question, any heads up on status of
Python API appreciated). eg
api_container_test.py:
>> import os
>> import re
>> import signal
>> import tempfile
>> import threading
>> from datetime import datetime
>>
>> import pytest
>> import requests
>> import six
>> import docker
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'docker'
>> import podman
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'podman'
>>
Cheers!
--
DAMON HATCHETT
CONSULTANT
Red Hat ACT <
https://www.redhat.com/>
Level 11, Canberra House
40 Marcus Clarke Street
dhatchet(a)redhat.com M: +61422276484
<
https://red.ht/sig>
@RedHat <
https://twitter.com/redhat> Red Hat
<
https://www.linkedin.com/company/red-hat> Red Hat
<
https://www.facebook.com/RedHatInc>