summaryrefslogtreecommitdiff
path: root/tests/lib/git_submodule_helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Migrate tests to use pathlib.PathTzu-ping Chung2022-06-081-2/+3
| | | | | | | | | | The pip-specific Path implementation has been removed, and all its usages replaced by pathlib.Path. The tmpdir and tmpdir_factory fixtures are also removed, and all usages are replaced by tmp_path and tmp_path_factory, which use pathlib.Path. The pip() function now also accepts pathlib.Path so we don't need to put str() everywhere. Path arguments are coerced with os.fspath() into str.
* Complete type annotations of tests/functional/ directoryJon Dufresne2021-11-181-2/+2
|
* Complete type annotations for tests/conftest.py and tests/lib/*Jon Dufresne2021-09-291-5/+13
|
* Blacken tests/libPradyun Gedam2021-04-021-22/+24
|
* Remove __future__ importsJon Dufresne2020-12-241-2/+0
| | | | Unnecessary since dropping Python 2.
* Make explicit argument for git commit -aChris Hunt2020-01-031-1/+3
|
* Remove unnecessary expect_error.Chris Hunt2019-08-101-3/+2
|
* Rename compatible functions in tests.lib.path.Path.Chris Hunt2019-07-021-7/+7
|
* Add _git_commit() to tests.lib.Chris Jerdonek2018-11-121-16/+7
|
* Move a hard-coded relative path out of tests/lib.Chris Jerdonek2018-11-111-11/+13
|
* Simplify some git-commit calls in the test code.Chris Jerdonek2018-10-241-6/+5
|
* DRY up the test code to create a module with a main() function.Chris Jerdonek2018-10-231-4/+3
|
* Isolate our tests from the running user's configurationDonald Stufft2014-05-071-5/+5
|
* Turn on everything in flake8Donald Stufft2014-02-241-4/+4
| | | | | | flake8 ignores some errors by default, these ignored by defaults change sometimes. This will make things stabler by selecting everything.
* Use Flake8 on the test of pip's Python filesDonald Stufft2014-01-281-5/+20
|
* Refactor tests.lib into classes that can be used to modify stateDonald Stufft2013-08-271-0/+2
|
* Refactor tests.libDonald Stufft2013-08-211-11/+11
| | | | | | | | | | | | | | * Move virtualenv creation out of TestPipEnvironment * Remove global state and force explicit use of TestPipEnvironment instances * Remove "backup" virtualenv copying and instead create new virtual environments each time. * Remove the monkeypatched "PyPICache" functionality * Remove things that were not being used anymore and were dead weight * Remove sitecustomize support which was primarily used to monkeypatch the "PyPICache" but was used in one or two other tests.
* break up tests dir into data, unit tests, and functional testsMarcus Smith2013-05-291-0/+65