Metadata-Version: 2.4
Name: zun-tempest-plugin
Version: 4.14.0
Summary: Tempest plugin zun_tempest_plugin
Author-email: OpenStack <openstack-discuss@lists.openstack.org>
License-Expression: Apache-2.0
Project-URL: Homepage, https://docs.openstack.org/zun-tempest-plugin/latest/
Project-URL: Repository, https://opendev.org/openstack/zun-tempest-plugin
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: pbr!=2.1.0,>=2.0.0
Requires-Dist: oslo.utils>=3.33.0
Requires-Dist: oslo.serialization!=2.19.1,>=2.18.0
Requires-Dist: oslo.config>=5.2.0
Requires-Dist: docker>=2.4.2
Requires-Dist: tempest>=17.1.0
Dynamic: license-file
Dynamic: requires-dist

==========================
Tempest Integration of Zun
==========================

.. image:: https://governance.openstack.org/tc/badges/zun-tempest-plugin.svg

This directory contains Tempest tests to cover the Zun project, as well
as a plugin to automatically load these tests into tempest.

See the Tempest plugin docs for information on using it:
https://docs.openstack.org/tempest/latest/#using-plugins

* Free software: Apache license
* Documentation: https://docs.openstack.org/zun-tempest-plugin/latest
* Source: https://opendev.org/openstack/zun-tempest-plugin
* Bugs: https://bugs.launchpad.net/zun

Running the tests
-----------------

Edit ``/opt/stack/tempest/etc/tempest.conf``:

   * Add the ``[container_service]`` section,
     configure ``min_microversion`` and ``max_microversion``:

     .. code-block:: ini

        [container_service]
        min_microversion=1.32
        max_microversion=1.32

   .. note::

      You might need to modify the min/max microversion based on your
      test environment.

To run all tests from this plugin, install Zun into your environment and
navigate to tempest directory::

    $ cd /opt/stack/tempest

Run this command::

    $ tempest run --regex zun_tempest_plugin.tests.tempest.api

To run a single test case, run with the test case name, for example::

    $ tempest run --regex zun_tempest_plugin.tests.tempest.api.test_containers.TestContainer.test_list_containers
