diff options
author | Sujil02 <sushah@redhat.com> | 2020-06-11 09:18:52 -0400 |
---|---|---|
committer | Sujil02 <sushah@redhat.com> | 2020-06-15 02:57:55 -0400 |
commit | 4a3f3b5c02e43d64c68425de4306e310b4ef9ed6 (patch) | |
tree | fbde3f1b570bfd7290e5ab60a970bbbdcaedc5ad /test/test_dockerpy/README.md | |
parent | 3f026eb6a682a68e69f9376b72157a8f084e575c (diff) | |
download | podman-4a3f3b5c02e43d64c68425de4306e310b4ef9ed6.tar.gz podman-4a3f3b5c02e43d64c68425de4306e310b4ef9ed6.tar.bz2 podman-4a3f3b5c02e43d64c68425de4306e310b4ef9ed6.zip |
Adds more docker py test
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>
Diffstat (limited to 'test/test_dockerpy/README.md')
-rw-r--r-- | test/test_dockerpy/README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/test_dockerpy/README.md b/test/test_dockerpy/README.md new file mode 100644 index 000000000..32e426d58 --- /dev/null +++ b/test/test_dockerpy/README.md @@ -0,0 +1,30 @@ +# 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 +``` |