Inconsistent names for built-in fixtures

Bug #893539 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Fixtures
Fix Released
Undecided
Jonathan Lange

Bug Description

These are the built-in fixtures:

 * EnvironmentVariableFixture
 * MonkeyPatch
 * PackagePathEntry
 * PopenFixture
 * PythonPackage
 * PythonPathEntry
 * TempDir

Two have names that end with "Fixture". It's not clear why they do and others don't. It also makes it hard to guess the right name, and guessability is awesome.

Probably none of these should have names ending in "Fixture". Note that this would leave something called "Popen", which seems like it could be confused with subprocess.Popen. For that, I'd suggest PopenDouble or FakePopen or something similar.

Related branches

Changed in python-fixtures:
status: New → Fix Released
assignee: nobody → Jonathan Lange (jml)
milestone: none → next
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.