aboutsummaryrefslogtreecommitdiff
path: root/test/test_repo.py
AgeCommit message (Collapse)Author
2020-09-28git/repo/base.py: is_dirty(): Fix pathspec handlingArnaud Patard
It's possible to specify a pathspec (eg :!foo) to git diff/status/... but it currently fails with: git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) cmdline: /usr/bin/git diff --abbrev=40 --full-index --raw :!foo stderr: 'fatal: ambiguous argument ':!foo': unknown revision or path not in the working tree. Add missing '--' to the arguments to fix this ambiguity Signed-off-by: Arnaud Patard <apatard@hupstream.com>
2020-07-12tests: move to root dirKonrad Weihmann
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>
2020-07-12Revert moving tests out of 'git' folder, related to #1030Sebastian Thiel
2020-07-12tests: move to root dirKonrad Weihmann
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>
2010-11-25Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel
adjusted
2010-11-24Adjusted remaining usages of set_reference and set_commit to set a logmessageSebastian Thiel
2010-11-24Improved refparse error handling in case of out-of-bound indicesSebastian Thiel
2010-11-23repo.rev_parse: Added support for simple log parsing - dates are not yet ↵Sebastian Thiel
supported, mainly because I don't need it
2010-11-21Updated MANIFEST and setup to include fixtures. Adjusted includes in all ↵Sebastian Thiel
tests to work with the new directory structure
2010-11-21flattened test folder structure, didn't adjust any file content yetSebastian Thiel