Skip to main content

Warn or fail on fixture name clash

Project description


In the face of ambiguity, refuse the temptation to guess.

This plugin detects when you have two fixtures that share the same name, and throws an error in that case, instead of silently choosing the later/inner-most one.


pip install pytest-fixture-rtttg

After this, the plugin should automatically do its job.


When the duplicate name is intentional, you can use the dupe mark to stop this from happening:

def some_fixture():

Usually though, you're better of just choosing a different name.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-fixture-rtttg-0.1.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_fixture_rtttg-0.1.1-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page