summaryrefslogtreecommitdiff
path: root/test/test_index.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: Allow adding PathLike object to indexRuben DI BATTISTA2022-05-181-0/+11
| | | | Close #1382
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-181-65/+22
|
* Run everything through 'black'Sebastian Thiel2022-05-181-131/+180
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* Fix various typosluz paz2022-05-071-1/+1
| | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
* Use bash to open extensionless hooks on windowsDavid Briscoe2022-01-141-3/+6
| | | | | | | | | | | | | | | Fix #971. Partly resolve #703. If the hook doesn't have a file extension, then Windows won't know how to run it and you'll get "[WinError 193] %1 is not a valid Win32 application". It's very likely that it's a shell script of some kind, so use bash.exe (commonly installed via Windows Subsystem for Linux). We don't want to run all hooks with bash because they could be .bat files. Update tests to get several hook ones working. More work necessary to get commit-msg hook working. The hook writes to the wrong file because it's not using forward slashes in the path: C:\Users\idbrii\AppData\Local\Temp\bare_test_commit_msg_hook_successy5fo00du\CUsersidbriiAppDataLocalTempbare_test_commit_msg_hook_successy5fo00duCOMMIT_EDITMSG
* fix tests the fast waySebastian Thiel2021-01-081-8/+10
|
* tests: move to root dirKonrad Weihmann2020-07-121-0/+934
| | | | | | | | | This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
* Revert moving tests out of 'git' folder, related to #1030Sebastian Thiel2020-07-121-934/+0
|
* tests: move to root dirKonrad Weihmann2020-07-121-0/+934
| | | | | | | | | This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-669/+0
| | | | adjusted
* Removed ORIG_HEAD handling which was downright wrong. ORIG_HEAD gets only ↵Sebastian Thiel2010-11-231-1/+0
| | | | set during merge and rebase, and probably everything that changes the ref more drastically. Probably I have to reread that. What needs to be adjusted though is the reflog
* Updated MANIFEST and setup to include fixtures. Adjusted includes in all ↵Sebastian Thiel2010-11-211-1/+1
| | | | tests to work with the new directory structure
* flattened test folder structure, didn't adjust any file content yetSebastian Thiel2010-11-211-0/+670