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 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/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
Level 11, Canberra House
40 Marcus Clarke Street
dhatchet@redhat.com M: +61422276484
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
You need to download the podman-py package.
https://github.com/containers/podman-py
Or install python3-docker
yum install python3-docker