summaryrefslogtreecommitdiff
path: root/tests/test_files.py
Commit message (Collapse)AuthorAgeFilesLines
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-9/+5
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-30/+23
| | | | One step of moving to pure pytest tests.
* fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577)Valentin Lab2021-01-171-0/+14
| | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
* Fix tests for GitHub windows platformNed Batchelder2020-11-281-1/+1
| | | | | | | | | | | | | | The tests were failing because of differences in file paths. It was comparing: C:\Users\runneradmin\AppData\... to: C:\Users\RUNNER~1\AppData\... and failing. These changes normalize the file paths so the comparisons work properly.
* More bitbucket->github urlsNed Batchelder2020-08-181-3/+3
|
* Don't do vars and users in abs_fileNed Batchelder2019-11-281-1/+1
| | | | It meant file names could be incorrectly expanded.
* Fix a test to get case right on WindowsNed Batchelder2019-01-281-1/+1
|
* Make sure that the cache is properly filled. (25x speedup on our system that ↵Stephan Richter2019-01-281-0/+13
| | | | | | has a large sys.path.) It is always a bad idea to reassign the cachekey during the computation.
* Move fiddly fnmatch logic into its own testable functionNed Batchelder2018-09-021-1/+50
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Ensure mapped paths use the separator of the result. #618Ned Batchelder2018-01-221-0/+32
|
* Don't ever create HTML filenames longer than ~200 chars. Fixes #627.Ned Batchelder2018-01-201-3/+21
|
* Skip an obscure case that confuses me on WindowsNed Batchelder2017-11-041-1/+6
|
* Root is acceptable as a combining path (the manylinux tests end up with one ↵Ned Batchelder2017-10-261-1/+4
| | | | of these)
* Use the test-specific chdir methodNed Batchelder2017-02-111-1/+1
|
* Give a test helper a better nameNed Batchelder2017-02-041-4/+4
|
* Enable pytest warnings, and fix/silence a fewNed Batchelder2016-11-261-1/+1
|
* Explicitly test multiple wildcards in path aliasesNed Batchelder2016-10-121-0/+9
|
* Use standard skipTest, which unittest-mixins will override.Ned Batchelder2016-06-121-1/+1
|
* Properly handle filenames with non-ASCII characters. #432Ned Batchelder2015-10-251-1/+1
|
* Use ntpath so Windows file manipulation can be tested the same everywhere.Ned Batchelder2015-08-151-1/+1
|
* Move flat_rootname from FileReporter to a utility function.Ned Batchelder2015-08-091-1/+5
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* More PathAliases testing precisionNed Batchelder2015-06-161-7/+1
|
* Be more specific with PathAliases tests.Ned Batchelder2015-06-161-3/+7
|
* Remove FileLocator from PathAliases. Now it always produces canonicalized paths.Ned Batchelder2015-06-131-15/+23
|
* Change FileLocator from a class to module-level functionsNed Batchelder2015-06-131-16/+16
|
* Tweak up the last mergeNed Batchelder2015-06-071-8/+14
|
* Use the run_in_temp_dir flag.Ionel Cristian Maries2015-06-071-2/+3
| | | | | --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
* Use TestCase here.Ionel Cristian Maries2015-06-071-1/+2
| | | | | --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
* Add a test for the Windows issue of actual_path.Ionel Cristian Maries2015-06-071-1/+8
| | | | | --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
* Move python source understanding into python.pyNed Batchelder2015-01-011-21/+1
|
* Two windows fixes for testsNed Batchelder2014-12-271-0/+1
|
* Zip files always produce bytes, and test that we get them decoded properly.Ned Batchelder2014-12-131-3/+23
|
* Try out pylint spelling. Kinda noisy, but fixed some stuff.Ned Batchelder2014-11-271-1/+1
|
* Cleanups from pull request 42Ned Batchelder2014-11-241-1/+0
|
* ModuleFinder no longer takes a main-module argument.Buck Golemon2014-11-141-33/+6
| | | | | | | --HG-- branch : __main__-support extra : rebase_source : 3f4c29876960153907b65b6e8e818b8228ca4ec0 extra : histedit_source : 6567adaf9c89483b71501fd91e9d3c83ed3daec7%2C2c5c8a7af95b8b26af384b9a65815d077e4313ec
* make --source and -m play nice togetherbuck2014-10-151-1/+61
| | | | | | --HG-- branch : __main__-support extra : rebase_source : c9ca9fddecafddd5ef4db9cc64ca1c0972130aab
* Make the Fnmatcher work right on Windows.Ned Batchelder2014-09-211-0/+8
|
* Make the test match the code betterNed Batchelder2014-06-031-1/+1
|
* Fix the new FnmatchMatcher for >100 patternsNed Batchelder2014-06-031-0/+6
|
* Avoid a bunch of deprecated functions.Ned Batchelder2014-05-171-3/+3
|
* Small cleanupsNed Batchelder2014-05-031-1/+0
|
* Cleaner tests of the file matchersNed Batchelder2014-03-111-23/+31
|
* Use assertRaises as a context manager now that we can.Ned Batchelder2013-12-211-12/+7
|
* Get rid of our backward implementation of set, sorted, reversed, and rpartition.Ned Batchelder2013-10-191-1/+0
| | | | | --HG-- branch : 4.0
* Mark a bunch of tests that don't need temp directories.Ned Batchelder2013-09-281-0/+2
|
* Allow relative paths in the [paths] aliases. #267.Ned Batchelder2013-09-261-1/+25
|
* Find .pyw files when searching for source files.Ned Batchelder2013-09-161-0/+2
|
* Give the matchers a way to get info out of them.Ned Batchelder2013-09-061-2/+7
|