summaryrefslogtreecommitdiff
path: root/test/test_commit.py
Commit message (Collapse)AuthorAgeFilesLines
* Use git interpret-trailers for trailers propertyKet3r2022-01-071-2/+2
| | | | | | | The whitespace handling and trailer selection isn't very trivial or good documented. It therefore seemed easier and less error prone to just call git to parse the message for the trailers section and remove superfluos whitespaces.
* Add failing unit testPeter Kempter2022-01-071-0/+46
|
* Rmv old py2.7 __future__ importsYobmod2021-07-191-2/+0
|
* rmv python 3.5 checks from testsYobmod2021-07-191-1/+1
|
* Type Traversable.traverse() better, start types of submoduleYobmod2021-06-301-0/+13
|
* add replace method to git.CommitLars Kellogg-Stedman2021-02-151-0/+20
| | | | | | | | | | | This adds a replace method to git.Commit. The replace method returns a copy of the Commit object with attributes replaced from keyword arguments. For example: >>> old = repo.head.commit >>> new = old.replace(message='This is a test') closes #1123
* Fix inheritance issue at commit.iter_itemsYuri Volchkov2021-02-051-0/+7
| | | | | | | The iterator used to yield Commit() objects, which does not play well with inheritance. Yield cls() instead. Signed-off-by: Yuri Volchkov <yuri@volch.org>
* tests: move to root dirKonrad Weihmann2020-07-121-0/+393
| | | | | | | | | 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-393/+0
|
* tests: move to root dirKonrad Weihmann2020-07-121-0/+393
| | | | | | | | | 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-275/+0
| | | | adjusted
* Initial interface including some of the implementation of the RefLog. ↵Sebastian Thiel2010-11-231-0/+2
| | | | | | TestCase scetched out for now tests: Added tests to verify that objects don't have a dict. Previously, due to a missing __slots__ member in Serializable, most objects would indeed have a dict, although the opposite was intended
* 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/+273