-
python3-pytest-aiohttp-0.3.0-14.fc36.noarch
The library allows to use aiohttp pytest plugin without need for implicitly
loading it like pytest_plugins = 'aiohttp.pytest_plugin'.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-alembic-0.10.7-1.lbn36.noarch
 and which enables you to write tests specific to your
migrations.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-arraydiff-0.4.0-2.fc36.noarch
This is a py.test plugin to facilitate the generation and comparison of
data arrays produced during tests.
The basic idea is that you can write a test that generates a Numpy array
(or other related objects depending on the format). You can then either
run the tests in a mode to generate reference files from the arrays, or
you can run the tests in comparison mode, which will compare the results
of the tests to the reference ones within some tolerance.
At the moment, the supported file formats for the reference files are:
* A plain text-based format (baed on Numpy loadtxt output)
* The FITS format (requires astropy). With this format, tests can return
either a Numpy array for a FITS HDU object.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-astropy-0.9.0-2.fc36.noarch
This package provides a plugin for the pytest framework that is used for
testing Astropy and its affiliated packages.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-astropy-header-0.2.0-2.fc36.noarch
This plugin package provides a way to include information about the system,
Python installation, and select dependencies in the header of the output
when running pytest. It can be used with packages that are not affiliated
with the Astropy project, but is optimized for use with
astropy-related projects.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-asyncio-0.21.0-5.lbn36.noarch
pytest-asyncio is an Apache2 licensed library, written in Python, for testing
asyncio code with pytest.
asyncio code is usually written in the form of coroutines, which makes it
slightly more difficult to test using normal testing tools. pytest-asyncio
provides useful fixtures and markers to make testing easier.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-base-url-2.1.0-1.lbn36.noarch
pytest-base-url is a simple plugin for pytest that provides an optional base
URL via the command line or configuration file.
Requirements
You will need the following prerequisites in order to use pytest-base-url:
Python 3.8+ or PyPy3
Installation
To install pytest-base-url:
$ pip install pytest-base-url
Contributing
We welcome contributions.
To learn more, see Development
Specifying a Base URL
Rather than repeating or abstracting a base URL in your tests, pytest-base-url
provides a base_url fixture that returns the specified base URL.
import urllib2
def test_example(base_url):
assert 200 == urllib2.urlopen(base_url).getcode()
Using the Command Line
You can specify the base URL on the command line:
$ pytest --base-url http:/www.example.com
Using a Configuration File
You can specify the base URL using a configuration file:
[pytest]
base_url = http:/www.example.com
Using an Environment Variable
You can specify the base URL by setting the PYTEST_BASE_URL environment var
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-bdd-5.0.0-8.fc36.noarch
pytest-bdd implements a subset of the Gherkin language to enable automating
project requirements testing and to facilitate behavioral driven development.
Unlike many other BDD tools, it does not require a separate runner and benefits
from the power and flexibility of pytest. It enables unifying unit and
functional tests, reduces the burden of continuous integration server
configuration and allows the reuse of test setups.
Pytest fixtures written for unit tests can be reused for setup and actions
mentioned in feature steps with dependency injection. This allows a true BDD
just-enough specification of the requirements without maintaining any context
object containing the side effects of Gherkin imperative declarations.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-beakerlib-0.7.1-18.fc36.noarch
Allows results of running a test suite under pytest to be reported to
an active BeakerLib session.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-benchmark-3.4.1-4.fc36.noarch
This plugin provides a benchmark fixture. This fixture is a callable object
that will benchmark any function passed to it.
Notable features and goals:
- Sensible defaults and automatic calibration for microbenchmarks
- Good integration with pytest
- Comparison and regression tracking
- Exhausive statistics
- JSON export
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36