Commit Graph

12 Commits

Author SHA1 Message Date
Nguyễn Gia Phong c564a3d541 Use monkeypatch.setenv in config and option tests 2020-07-25 20:46:45 +07:00
Chris Jerdonek 57ec8bc5e0 Reset os.environ while preserving the original mapping. 2019-02-02 17:19:20 -08:00
Felix Yan f3d82aa741 Fix a typo in tests/lib/configuration_helpers.py (#5858) 2018-10-09 20:28:50 +05:30
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Pradyun S. Gedam 3bb4ddc332
Change file_ to fname 2017-06-01 11:38:20 +05:30
Pradyun S. Gedam 19fd2db327 Close the open file-descriptor 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam bd850c0798 Improve tests 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam f6a7f4b7c4 🎨 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam 3efb452a2a Use an enum-like attribute to refer to configuration sources 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam 3b6c3d152d I forgot file is a builtin in Python 2 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam f9990605dc Add non-working test for patched configuration file 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam 9063899e7d Move mixin to a helper module 2017-05-20 12:56:13 +05:30