mirror of
https://github.com/containers/podman.git
synced 2025-06-09 17:07:51 +08:00

Addes more docker py test Optimize test to import images from cache Rename test class and dir for python unittest framework Signed-off-by: Sujil02 <sushah@redhat.com>
Dockerpy regression test
Python test suite to validate Podman endpoints using dockerpy library
Running tests
To run the tests locally in your sandbox:
Run the entire test
sudo PYTHONPATH=/usr/bin/python python -m dockerpy.images
Passing the -v option to your test script will instruct unittest.main() to enable a higher level of verbosity, and produce detailed output:
sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images
Run a specific test class
sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images.TestImages
Run a specific test within the test class
sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images.TestImages.test_list_images