Commit Graph

19 Commits

Author SHA1 Message Date
Pradyun Gedam a89ede7da3
tests: Check only the last output lines 2020-07-27 19:51:47 +05:30
Devesh Kumar Singh fe6920bc2f Addressed review comments 2020-04-08 13:59:33 +05:30
Devesh Kumar Singh a73ad91c8b Running test_check for pkg_path 2020-04-07 09:06:13 +05:30
Devesh Kumar Singh 2324ae422e Add unit tests for pip commands not using cwd 2020-04-05 23:17:03 +05:30
Chris Hunt 0a6b3cedae Remove unnecessary expect_error. 2019-08-10 22:39:57 -04:00
Thomas Kluyver b61e83b0a3 OK, 79 characters 2018-10-11 17:18:13 +01:00
Thomas Kluyver 2480bc31f1 Fix linter issues 2018-10-11 16:52:37 +01:00
Thomas Kluyver a8cc72d895 Add test for 'pip check' with broken metadata 2018-10-11 16:14:34 +01:00
Pradyun Gedam 1862d2f887
Accept prerelease versions when checking conflicts 2018-04-02 21:35:49 +05:30
Pradyun Gedam f286fb8bdd
pip check should care about the markers 2018-03-28 13:44:21 +05:30
Pradyun Gedam cde3f4c354
Verify returncode in all pip check tests 2018-03-28 13:40:47 +05:30
Pradyun Gedam 1c911bfbdd
🎨 Make the linters happy again 2018-01-26 11:06:16 +05:30
Pradyun Gedam 3013f743c4
Fix the normalization in test 2018-01-26 08:25:50 +05:30
Pradyun Gedam 2c86cc3237
Add tests related to normalization of names 2018-01-24 18:16:59 +05:30
Pradyun Gedam 045e244b7e
Run pip check in pip install
Also, add --no-warn-conflicts option to allow supressing the error messages generated.
2018-01-24 18:16:18 +05:30
Pradyun Gedam e31d784b41
Rename a few tests to add the word "basic"
This essentially allows me to do an overall check general check by running the tests using pytest's `-k basic` syntax. Given that I like running tests often and that, in general, I make typos more often than changes that break core functionality, I think this will reduce cycle times for me.
2017-12-16 23:43:46 +05:30
Xavier Fernandez a12f2f493c Reimplement pip check tests without network
Add small test for complex dependency names
2016-11-13 22:51:15 +01:00
Pradyun S. Gedam 8b4ebc1ee5 Improve UX and tests of check command
This should really be 3 atomic commits but I'm short on time.

- Prints a message on clean environment
- Marked tests as network based
- Added helper that matches lines irrespective of order.
2016-06-26 19:53:38 +05:30
Wilfred Hughes 76c356151a Add a `pip check` command.
This command ensures that all packages installed have all the
requirements they need, and that requirements have compatible
versions. This is useful because pip can install incompatible
dependencies[1], or a user may have manually (un)installed a
package.

[1] https://github.com/pypa/pip/issues/775
2015-03-07 22:02:47 -08:00