aboutsummaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
AgeCommit message (Collapse)Author
2015-01-14Added 'path' keyword argument to Repo.archive().Sebastian Thiel
This allows sub-trees to be archived as well, and makes `.archive()` feature complete. Fixes #67
2015-01-13Added `Repo.merge_base(...)` implementation, including test-case.Sebastian Thiel
Fixes #169
2015-01-12Added specific test for roughly checking configuration paths.Sebastian Thiel
For some reason, I didn't trust the existing one as it tests that code more indirectly. Related to #160
2015-01-10Fixed test to actually use tilde and environment variables respectively.Sebastian Thiel
Related to #83
2015-01-10Repo.init() now supports paths with a '~' in it, or environment variables in ↵Sebastian Thiel
general. Fixes #83
2015-01-09Added test for complex blame revision query.Sebastian Thiel
It works as expected by me at least. Related to #71
2015-01-09Added test to assure blame can deal with binary patches.Sebastian Thiel
Fixes #74
2015-01-08Improved empty-repo testSebastian Thiel
Helps to clarify #55
2015-01-08Improved handling of name-resolution, which will not mangle names anymore.Sebastian Thiel
Previously, an unresolvable ref name like HEAD would end up as HEX and was presented as BadObject error, even though that exception is for invalid shas only. Now BadName is thrown, which converts into a more useful error message. Improves #105
2015-01-08And finally, PY3 support should be restored.Sebastian Thiel
Forgot to fix the test, which used the same broken version_info condition
2015-01-08Added test to verify blame commits can have multiple lines.Sebastian Thiel
See #47
2015-01-08Added Remote.exists() method, and test. Fixes #229Sebastian Thiel
2015-01-07Made improvements to assure test-cases don't leak file handlesSebastian Thiel
At least leakage is considerably reduced. Additionally, a test-case was added which triggers failure if auto-disposal of resources wouldn't work. Fixes #60
2015-01-07This should fix flake8 on py3Sebastian Thiel
See #177
2015-01-06test_repo worksSebastian Thiel
2015-01-05Fixed io types to make tests work on PY2 once again.Sebastian Thiel
Now it's about going through PY3 issues
2015-01-04Dum brute force conversion of all types.Sebastian Thiel
However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first.
2015-01-04initial set of adjustments to make (most) imports work.Sebastian Thiel
More to come, especially when it's about strings
2015-01-04Removed 'from X import *' whereever possibleSebastian Thiel
2015-01-04Bumped version, updated changelog, reduced code smellSebastian Thiel
There is more work to do though, as many imports are still incorrect. Also, there are still print statements
2015-01-04Let's hope travis works nowSebastian Thiel
2015-01-04Intermediate debug commit for travis ... do not useSebastian Thiel
2015-01-04Somemore debugging for rev-parse issueSebastian Thiel
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.
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-16pep8 linting (trailing whitespace)Antoine Musso
W291 trailing whitespace
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-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-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-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-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-02-23Fixed incorrect handling of rev_parse if it was fed with branches that ↵Sebastian Thiel
looked like hexshas. Thanks to Ning (frostyplanet) who pointed this issue out
2010-11-25Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel
adjusted