summaryrefslogtreecommitdiff
path: root/git/test
Commit message (Collapse)AuthorAgeFilesLines
* tests: move to root dirKonrad Weihmann2020-07-1298-17463/+0
| | | | | | | | | 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-1298-0/+17463
|
* tests: move to root dirKonrad Weihmann2020-07-1298-17463/+0
| | | | | | | | | 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>
* Fix exception causes in 7 modulesRam Rachum2020-06-132-4/+4
|
* Fix flake8 errorsSebastian Thiel2020-05-281-1/+1
|
* Accept that this arguably simple feature can't be tested easily…Sebastian Thiel2020-05-041-1/+2
| | | | | | | | | …and time is previous. Since I could reproduce it and see it working with the steps provided in the comment: https://github.com/gitpython-developers/GitPython/pull/1009#issuecomment-623008816 I think it's good for now. We also assume there won't be a regression.
* add test case for submodule depth parameterLiam Beguin2020-05-021-0/+8
| | | | Signed-off-by: Liam Beguin <liambeguin@gmail.com>
* Now it should really start working - go, doctests, go!Sebastian Thiel2020-04-111-1/+1
|
* Maybe this fixes the doc testsSebastian Thiel2020-04-111-1/+1
|
* This should fix tests, as tree[0] is not a tree anymoreSebastian Thiel2020-04-111-1/+1
|
* Remove now unnecessary explicit Unicode string literal prefixesHarmon2020-02-256-48/+48
|
* Remove test.lib.asserts and use unittest.mock.patch directlyHarmon2020-02-164-18/+6
|
* Replace assert_false with assertFalseHarmon2020-02-162-8/+3
|
* Replace assert_true with assertTrueHarmon2020-02-165-22/+17
| | | | Also change TestOutputStream to subclass TestBase rather than object
* Replace raises with assertRaisesHarmon2020-02-163-13/+6
|
* Replace assert_raises with assertRaisesHarmon2020-02-163-9/+5
|
* Replace assert_not_equal with assertNotEqualHarmon2020-02-162-4/+2
|
* Replace assert_equal with assertEqualHarmon2020-02-1610-145/+135
| | | | Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method
* Remove and replace assert_match with assertRegexHarmon2020-02-162-15/+2
| | | | Also remove no longer used assert_not_none
* Remove old, no longer used assert methodsHarmon2020-02-161-37/+1
| | | | assert_instance_of, assert_not_instance_of, assert_none, assert_not_match, assert_mode_644, assert_mode_755
* Remove outdated checks for unittest.mock existenceHarmon2020-02-163-17/+3
|
* Replace deprecated assertRaisesRegexp alias with assertRaisesRegexHarmon2020-02-161-1/+1
| | | | In TestRepo.test_should_display_blame_information
* Replace deprecated assertNotEquals alias with assertNotEqualHarmon2020-02-161-1/+1
| | | | In TestIndex.test_index_mutation
* Replace deprecated assertEquals alias with assertEqual in TestGitHarmon2020-02-161-4/+4
|
* Replace deprecated assertRegexpMatches alias with assertRegexHarmon2020-02-161-1/+1
| | | | In TExc.test_CommandError_unicode
* Replace deprecated failUnlessRaises alias with assertRaises in testsHarmon2020-02-1615-123/+123
|
* Remove checks for pathlib existence in TestRepo for Python < 3.4Harmon2020-02-161-14/+1
|
* Fix Repo.__repr__ when subclassedJan Matějka2020-02-081-1/+1
|
* Remove now unused is_invoking_git variable in testHarmon2020-02-081-4/+1
|
* Remove check for Python 2.7Harmon2020-02-081-6/+0
|
* Remove no longer used imports in testsHarmon2020-02-082-2/+1
|
* Remove no longer used compat importsHarmon2020-02-081-4/+0
|
* Remove and replace compat.text_typeHarmon2020-02-081-4/+3
|
* Remove and replace compat.string_typesHarmon2020-02-088-21/+15
|
* Remove Python 2 testHarmon2020-02-081-6/+0
|
* Remove checks for Python 2 and/or 3Harmon2020-02-084-21/+4
|
* Remove and replace compat.xrangeHarmon2020-02-081-2/+1
|
* Added parsing for '@1400000000 +0000' date format as used by git commit hooks.Dries2019-12-291-0/+6
|
* Merge branch 'fix/deepsource-issues' of https://github.com/imkaka/GitPython ↵Sebastian Thiel2019-10-291-1/+1
|\ | | | | | | into imkaka-fix/deepsource-issues
| * Merge branch 'master' into fix/deepsource-issuesAnil Khatri2019-10-234-3/+89
| |\
| * | fixed unused variable found PYL-W0612Anil Khatri2019-10-221-1/+1
| | |
* | | Fix #920Victor Luzgin2019-10-281-0/+14
| | |
* | | Removing unused importJJ Graham2019-10-241-1/+1
| | |
* | | Fix #820JJ Graham2019-10-241-1/+1
| |/ |/|
* | Adding assertions to existing test case to cover this changeJJ Graham2019-10-221-1/+6
| |
* | Removing f-strings to maintain 3.4 and 3.5 compatabilityJJ Graham2019-10-211-4/+4
| |
* | Added new test to cover the issue this fix addresses (#891)JJ Graham2019-10-211-2/+48
| |
* | Fix pickling of tzoffsetUwe L. Korn2019-10-191-0/+7
| | | | | | | | Fixes #650
* | Expanded new test for copied fileJJ Graham2019-10-191-1/+4
| |
* | Fixed new test for copied filesJJ Graham2019-10-192-2/+1
| |