aboutsummaryrefslogtreecommitdiff
path: root/git/test
AgeCommit message (Collapse)Author
2015-01-04Intermediate debug commit for travis ... do not useSebastian Thiel
2015-01-04Somemore debugging for rev-parse issueSebastian Thiel
2015-01-03This should help getting travis to work, finallySebastian Thiel
2015-01-03Auto-skip performance tests more quietly on travisSebastian Thiel
... and be able to run performance tests independently of the chosen performance test repo Now all tests run fine locally
2015-01-03Fixed all remaining non-performance testsSebastian Thiel
* travis configuration adjusted to hopefully work better than before Performance traversal still fails when using git-python as standard repository. It naturally wants a larger one. On travis these tests are skipped though.
2015-01-03Various fixes and improvementsSebastian Thiel
* GIT_PYTHON_TRACE now behaves correctly for fetch, and pull (i.e. if as_process is used) * Improved parsing of fetch head information However, there is still a messy bit that tries to bring together fetch progress information with fetch head information. Even though it works now, an alternative implementation should be attempted.
2015-01-02Auto-launching git daemon to make tests more independentSebastian Thiel
Fixes #217
2014-12-19Simplified parse_date implementationSebastian Thiel
This allows to deal with the previous UTC issue without manually reversing timezone adjustments
2014-12-18BF: adjust mktime output for the local offset (Close #218)Yaroslav Halchenko
2014-11-19Applied autopep8Sebastian Thiel
Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
2014-11-19Merge branch 'feature/0.3/git-file-support' of ↵Sebastian Thiel
https://github.com/igetgames/GitPython into igetgames-feature/0.3/git-file-support Using the previous implementation of read_gitfile, but added the previously missing test from this PR. Conflicts: git/repo/base.py git/test/test_repo.py
2014-11-17Copy environment for subprocess executionDarragh Bailey
Git utilizes multiple environment variables to control various behaviours. Make sure to set LC_MESSAGES on a copy of the environment instead of discarding any variables that may be set by the user or default shell environment such as EDITOR. Add test to assert that when overriding GIT_EDITOR via os.environ that the modified value will be picked up by and git commands called.
2014-11-17Allow Index.add() on bare repositoriesSebastian Thiel
2014-11-16pep8 linting (trailing whitespace)Antoine Musso
W291 trailing whitespace
2014-11-16pep8 linting (double spaces before comment)Antoine Musso
E261 at least two spaces before inline comment
2014-11-16pep8 linting (whitespace before/after)Antoine Musso
E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
2014-11-16pep8 linting (blank lines expectations)Antoine Musso
E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
2014-11-16pep8 linting (whitespaces)Antoine Musso
W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
2014-11-15Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel
johnsca-sf-master Conflicts: git/cmd.py git/objects/commit.py git/objects/fun.py git/objects/util.py git/remote.py git/repo/base.py git/test/lib/helper.py git/test/test_commit.py git/test/test_fun.py git/util.py
2014-11-14Merge pull request #189 from mrasskazov/0.3Sebastian Thiel
GPG signature support on commit object.
2014-11-14Updated README to better represent current stateSebastian Thiel
2014-11-12Merge pull request #200 from dbaxa/0.3-with-unicode-fixesSebastian Thiel
0.3 with unicode fixes
2014-11-12Basic test for __unpack_args to verify unicode handling worksCraig Northway
(cherry picked from commit 8fa25b1cd5a82679c7b12d546b96c30cafed0559) Signed-off-by: David Black <dblack@atlassian.com> Conflicts: git/test/test_git.py
2014-09-08GPG signature support on commit object.Max Rasskazov
Originals: Pull request "GPG signature support on commit object" #124 by Tatsuki Sugiura. https://github.com/gitpython-developers/GitPython/pull/124 commit 8065d2abdbb18e09560fc061807301b4c834d5a7 commit 62ecd6c66a84144632b045696326af503ee8cd4e
2014-07-03Support multiple refspecs in fetch.Robert Collins
Git supports fetching many refs at once - support this in GitPython too for more efficient operations when selectively mirroring repositories.
2014-04-25add git command optionsEric Brunson
Add __call__ method to Git object to allow passing git command options to the executable requires flag to transform_kwargs add unit tests Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
2014-04-25add git command optionsEric Brunson
Add __call__ method to Git object to allow passing git command options to the executable requires flag to transform_kwargs add unit test Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
2014-03-03[#7021] Added serialization and test from upstream and fixed test issuesCory Johns
2014-02-10Minor modifications to get tests back to work.Sebastian Thiel
Two tests are failing in the latest git version, would have to dig into it
2014-02-10Adjusted required versions of pre-requisites, now the majority of the tests workSebastian Thiel
2014-02-09tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel
probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
2013-04-17Fix whacky indentationTim Van Steenburgh
Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
2013-04-17Return bytes if object name can't be utf8-decodedTim Van Steenburgh
Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
2013-01-11Add tests for .git-file.Marcus R. Brown
2011-07-18fixed testcaseSebastian Thiel
a test cases was asserting the wrong variable
2011-07-18new blame test addedSebastian Thiel
A test which makes the actual git-blame test to be sure it really works in the face of a changing git command implementation
2011-07-05Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel
2011-07-04Fetch info can now deal much better with non-default ref specs, fixes #24, #25Sebastian Thiel
2011-07-04refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel
including simple test
2011-07-04Fixes #23Sebastian Thiel
2011-06-13test_submodule doesn't assume latest version of gitdb anymoreSebastian Thiel
2011-06-13fixed test_repo to deal with new and old versions of the gitdb. windows is ↵Sebastian Thiel
now ready to ship, regarding the test cases at least
2011-06-13fixed submodule test to work on windowsSebastian Thiel
2011-06-13test_submodule: Will now load everything into memory if smmap is present, to ↵Sebastian Thiel
help the submodule test to work even on windows
2011-06-10Fixed submodule tests to go with either the old or the new version of gitdbSebastian Thiel
2011-06-08Fixed critical issue that would cause a string to be passed to methods that ↵Sebastian Thiel
expect a stream
2011-06-08relaxed implementation when comparing symbolic references against other ↵Sebastian Thiel
items which don't have a path. Fixed test_refs to work in all cases - it was previously dependent on the order of items returned by the file system
2011-06-08util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel
functionality
2011-06-07Improved debug assertion to provide proper path on which to run a git daemonSebastian Thiel
2011-06-07Added version_info property to git command. Its cached and efficient, ↵Sebastian Thiel
including test