Doing dirty (but extremely useful) things with equals
158.11 KB
built 2026-11-24 23:37:22 GMT
Description
The dirty-equals Python library (mis)uses the __eq__ method to make python code
(generally unit tests) more declarative and therefore easier to read and write.
You can use dirty-equals in whatever context you like, but it comes into its
own when writing unit tests for applications where you’re commonly checking the
response to API calls and the contents of a database.
Dependencies
15 totalRequires13
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3dist(hatchling)
- python3dist(packaging)
- python3dist(packaging) >= 25
- python3dist(pip) >= 19
- python3dist(pydantic) >= 2.4.2
- python3dist(pytest) >= 8.3.5
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
Provides2
- python3-dirty-equals = 0.11-10.fc45
- python3-dirty-equals+pydantic = 0.11-10.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| dirty_equals-0.11.tar.gz | 125.07 KB |
| python-dirty-equals.spec | 7.15 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
