Metadata-Version: 2.2
Name: pytest-client-tools
Version: 0.0.1
Summary: pytest plugin to test RHSM client tools
Home-page: https://github.com/RedHatInsights/pytest-client-tools
Author: Pino Toscano
Author-email: ptoscano@redhat.com
Maintainer: Pino Toscano
Maintainer-email: ptoscano@redhat.com
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
License-File: LICENSE
Requires-Dist: dataclasses; python_version < "3.7"
Requires-Dist: dynaconf
Requires-Dist: pytest>=4
Requires-Dist: requests
Requires-Dist: toml
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# pytest-client-tools

Plugin for `pytest` to test RHSM client tools: `subscription-manager`,
`insights-client`, and `rhc`.

## Requirements

- dynaconf
- requests
- toml

## Installation

You can install it using `pip` from this git repository, i.e.

```bash
$ pip install git+https://github.com/ptoscano/pytest-client-tools@main
```

## Usage

It provides a set of fixtures for `pytest`, representing the various client tools
and some helper bits:
- `candlepin` -- a locally deployed Candlepin from sources with test data
- `external_candlepin` -- a remote Candlepin (requires a configuration pointing
  to it passed as `--test-config`)
- `any_candlepin` -- `external_candlepin` if available, otherwise `candlepin`
- `subman` -- `subscription-manager`
- `insights_client` -- `insights-client`
- `rhc` -- `rhc`

## License

Distributed under the terms of the `MIT`_ license.
