How To Install python-docker-tests on Fedora 36

In this tutorial we learn how to install python-docker-tests in Fedora 36. python-docker-tests is Unit tests and integration tests for python-docker

Introduction

In this tutorial we learn how to install python-docker-tests on Fedora 36.

What is python-docker-tests

Upstream test-suite (unit, integration) packaged as RPM.

We can use yum or dnf to install python-docker-tests on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python-docker-tests.

Install python-docker-tests on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python-docker-tests using dnf by running the following command:

sudo dnf -y install python-docker-tests

Install python-docker-tests on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python-docker-tests using yum by running the following command:

sudo yum -y install python-docker-tests

How To Uninstall python-docker-tests on Fedora 36

To uninstall only the python-docker-tests package we can use the following command:

sudo dnf remove python-docker-tests

python-docker-tests Package Contents on Fedora 36

/usr/libexec/installed-tests
/usr/libexec/installed-tests/python-docker
/usr/libexec/installed-tests/python-docker/tests
/usr/libexec/installed-tests/python-docker/tests/__init__.py
/usr/libexec/installed-tests/python-docker/tests/gpg-keys
/usr/libexec/installed-tests/python-docker/tests/gpg-keys/ownertrust
/usr/libexec/installed-tests/python-docker/tests/gpg-keys/secret
/usr/libexec/installed-tests/python-docker/tests/helpers.py
/usr/libexec/installed-tests/python-docker/tests/integration
/usr/libexec/installed-tests/python-docker/tests/integration/__init__.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_build_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_client_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_config_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_container_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_exec_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_healthcheck_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_image_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_network_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_plugin_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_secret_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_service_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_swarm_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/api_volume_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/base.py
/usr/libexec/installed-tests/python-docker/tests/integration/client_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/conftest.py
/usr/libexec/installed-tests/python-docker/tests/integration/context_api_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/credentials
/usr/libexec/installed-tests/python-docker/tests/integration/credentials/__init__.py
/usr/libexec/installed-tests/python-docker/tests/integration/credentials/store_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/credentials/utils_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/errors_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_containers_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_images_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_networks_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_nodes_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_resources_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_services_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_swarm_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/models_volumes_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/regression_test.py
/usr/libexec/installed-tests/python-docker/tests/integration/testdata
/usr/libexec/installed-tests/python-docker/tests/integration/testdata/dummy-plugin
/usr/libexec/installed-tests/python-docker/tests/integration/testdata/dummy-plugin/config.json
/usr/libexec/installed-tests/python-docker/tests/integration/testdata/dummy-plugin/rootfs
/usr/libexec/installed-tests/python-docker/tests/integration/testdata/dummy-plugin/rootfs/dummy
/usr/libexec/installed-tests/python-docker/tests/integration/testdata/dummy-plugin/rootfs/dummy/file.txt
/usr/libexec/installed-tests/python-docker/tests/ssh
/usr/libexec/installed-tests/python-docker/tests/ssh/__init__.py
/usr/libexec/installed-tests/python-docker/tests/ssh/api_build_test.py
/usr/libexec/installed-tests/python-docker/tests/ssh/base.py
/usr/libexec/installed-tests/python-docker/tests/unit
/usr/libexec/installed-tests/python-docker/tests/unit/__init__.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_build_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_container_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_exec_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_image_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_network_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/api_volume_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/auth_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/client_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/context_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/dockertypes_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/errors_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/fake_api.py
/usr/libexec/installed-tests/python-docker/tests/unit/fake_api_client.py
/usr/libexec/installed-tests/python-docker/tests/unit/fake_stat.py
/usr/libexec/installed-tests/python-docker/tests/unit/models_containers_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/models_images_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/models_networks_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/models_resources_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/models_secrets_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/models_services_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/sshadapter_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/ssladapter_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/swarm_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/testdata
/usr/libexec/installed-tests/python-docker/tests/unit/testdata/certs
/usr/libexec/installed-tests/python-docker/tests/unit/testdata/certs/ca.pem
/usr/libexec/installed-tests/python-docker/tests/unit/testdata/certs/cert.pem
/usr/libexec/installed-tests/python-docker/tests/unit/testdata/certs/key.pem
/usr/libexec/installed-tests/python-docker/tests/unit/types_containers_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/utils_build_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/utils_config_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/utils_json_stream_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/utils_proxy_test.py
/usr/libexec/installed-tests/python-docker/tests/unit/utils_test.py

References

Summary

In this tutorial we learn how to install python-docker-tests on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).