aboutsummaryrefslogtreecommitdiff
path: root/git/test
AgeCommit message (Collapse)Author
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>
2020-06-13Fix exception causes in 7 modulesRam Rachum
2020-05-28Fix flake8 errorsSebastian Thiel
2020-05-04Accept that this arguably simple feature can't be tested easily…Sebastian Thiel
…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.
2020-05-02add test case for submodule depth parameterLiam Beguin
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2020-04-11Now it should really start working - go, doctests, go!Sebastian Thiel
2020-04-11Maybe this fixes the doc testsSebastian Thiel
2020-04-11This should fix tests, as tree[0] is not a tree anymoreSebastian Thiel
2020-02-25Remove now unnecessary explicit Unicode string literal prefixesHarmon
2020-02-16Remove test.lib.asserts and use unittest.mock.patch directlyHarmon
2020-02-16Replace assert_false with assertFalseHarmon
2020-02-16Replace assert_true with assertTrueHarmon
Also change TestOutputStream to subclass TestBase rather than object
2020-02-16Replace raises with assertRaisesHarmon
2020-02-16Replace assert_raises with assertRaisesHarmon
2020-02-16Replace assert_not_equal with assertNotEqualHarmon
2020-02-16Replace assert_equal with assertEqualHarmon
Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method
2020-02-16Remove and replace assert_match with assertRegexHarmon
Also remove no longer used assert_not_none
2020-02-16Remove old, no longer used assert methodsHarmon
assert_instance_of, assert_not_instance_of, assert_none, assert_not_match, assert_mode_644, assert_mode_755
2020-02-16Remove outdated checks for unittest.mock existenceHarmon
2020-02-16Replace deprecated assertRaisesRegexp alias with assertRaisesRegexHarmon
In TestRepo.test_should_display_blame_information
2020-02-16Replace deprecated assertNotEquals alias with assertNotEqualHarmon
In TestIndex.test_index_mutation
2020-02-16Replace deprecated assertEquals alias with assertEqual in TestGitHarmon
2020-02-16Replace deprecated assertRegexpMatches alias with assertRegexHarmon
In TExc.test_CommandError_unicode
2020-02-16Replace deprecated failUnlessRaises alias with assertRaises in testsHarmon
2020-02-16Remove checks for pathlib existence in TestRepo for Python < 3.4Harmon
2020-02-08Fix Repo.__repr__ when subclassedJan Matějka
2020-02-08Remove now unused is_invoking_git variable in testHarmon
2020-02-08Remove check for Python 2.7Harmon
2020-02-08Remove no longer used imports in testsHarmon
2020-02-08Remove no longer used compat importsHarmon
2020-02-08Remove and replace compat.text_typeHarmon
2020-02-08Remove and replace compat.string_typesHarmon
2020-02-08Remove Python 2 testHarmon
2020-02-08Remove checks for Python 2 and/or 3Harmon
2020-02-08Remove and replace compat.xrangeHarmon
2019-12-29Added parsing for '@1400000000 +0000' date format as used by git commit hooks.Dries
2019-10-29Merge branch 'fix/deepsource-issues' of https://github.com/imkaka/GitPython ↵Sebastian Thiel
into imkaka-fix/deepsource-issues
2019-10-28Fix #920Victor Luzgin
2019-10-24Removing unused importJJ Graham
2019-10-24Fix #820JJ Graham
2019-10-23Merge branch 'master' into fix/deepsource-issuesAnil Khatri
2019-10-22fixed unused variable found PYL-W0612Anil Khatri
2019-10-22Adding assertions to existing test case to cover this changeJJ Graham
2019-10-21Removing f-strings to maintain 3.4 and 3.5 compatabilityJJ Graham
2019-10-21Added new test to cover the issue this fix addresses (#891)JJ Graham
2019-10-19Fix pickling of tzoffsetUwe L. Korn
Fixes #650
2019-10-19Expanded new test for copied fileJJ Graham
2019-10-19Fixed new test for copied filesJJ Graham