| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| fixtures | ||
| __init__.py | ||
| test_auth.py | ||
| test_installed_repository.py | ||
| test_legacy_repository.py | ||
| test_pool.py | ||
| test_pypi_repository.py |
When testing the behavior for git packages with a setup.py file, the Provider class would create a temporary virtual environment and execute python setup.py egg_info. Both actions are costly and take time. By mocking them, we can reduce the tests time by a factor of 4 or 5.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| fixtures | Loading commit data... | |
| __init__.py | Loading commit data... | |
| test_auth.py | Loading commit data... | |
| test_installed_repository.py | Loading commit data... | |
| test_legacy_repository.py | Loading commit data... | |
| test_pool.py | Loading commit data... | |
| test_pypi_repository.py | Loading commit data... |