summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed flake8 and a minor test regression.Sebastian Thiel2015-01-201-2/+2
| | | | | The latter happened as now BadName is thrown, instead of BadObject. Changes.rst was marked accordingly
* Implemented Submodule.rename()Sebastian Thiel2015-01-191-0/+2
| | | | | | A test verifies it's truly working. Related to #238
* Added 'path' keyword argument to Repo.archive().Sebastian Thiel2015-01-141-1/+1
| | | | | | | This allows sub-trees to be archived as well, and makes `.archive()` feature complete. Fixes #67
* Added `Repo.merge_base(...)` implementation, including test-case.Sebastian Thiel2015-01-131-1/+23
| | | | Fixes #169
* Added specific test for roughly checking configuration paths.Sebastian Thiel2015-01-121-0/+5
| | | | | | | For some reason, I didn't trust the existing one as it tests that code more indirectly. Related to #160
* Fixed test to actually use tilde and environment variables respectively.Sebastian Thiel2015-01-101-2/+6
| | | | Related to #83
* Repo.init() now supports paths with a '~' in it, or environment variables in ↵Sebastian Thiel2015-01-101-0/+10
| | | | | | general. Fixes #83
* Added test for complex blame revision query.Sebastian Thiel2015-01-091-0/+7
| | | | | It works as expected by me at least. Related to #71
* Added test to assure blame can deal with binary patches.Sebastian Thiel2015-01-091-6/+7
| | | | Fixes #74
* Improved empty-repo testSebastian Thiel2015-01-081-2/+5
| | | | Helps to clarify #55
* Improved handling of name-resolution, which will not mangle names anymore.Sebastian Thiel2015-01-081-1/+26
| | | | | | | | | 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
* And finally, PY3 support should be restored.Sebastian Thiel2015-01-081-1/+1
| | | | Forgot to fix the test, which used the same broken version_info condition
* Added test to verify blame commits can have multiple lines.Sebastian Thiel2015-01-081-2/+6
| | | | See #47
* Added Remote.exists() method, and test. Fixes #229Sebastian Thiel2015-01-081-1/+6
|
* Made improvements to assure test-cases don't leak file handlesSebastian Thiel2015-01-071-0/+17
| | | | | | | | 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
* This should fix flake8 on py3Sebastian Thiel2015-01-071-1/+1
| | | | See #177
* test_repo worksSebastian Thiel2015-01-061-10/+18
|
* Fixed io types to make tests work on PY2 once again.py3Sebastian Thiel2015-01-051-7/+7
| | | | Now it's about going through PY3 issues
* Dum brute force conversion of all types.Sebastian Thiel2015-01-041-1/+2
| | | | | | However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first.
* initial set of adjustments to make (most) imports work.Sebastian Thiel2015-01-041-1/+1
| | | | More to come, especially when it's about strings
* Removed 'from X import *' whereever possibleSebastian Thiel2015-01-041-9/+24
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-7/+6
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Let's hope travis works nowSebastian Thiel2015-01-041-2/+0
|
* Intermediate debug commit for travis ... do not useSebastian Thiel2015-01-041-2/+2
|
* Somemore debugging for rev-parse issueSebastian Thiel2015-01-041-3/+5
|
* Fixed all remaining non-performance testsSebastian Thiel2015-01-031-7/+7
| | | | | | | * 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.
* Applied autopep8Sebastian Thiel2014-11-191-7/+9
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* Merge branch 'feature/0.3/git-file-support' of ↵Sebastian Thiel2014-11-191-1/+17
|\ | | | | | | | | | | | | | | | | | | 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
| * Add tests for .git-file.Marcus R. Brown2013-01-111-0/+17
| |
* | pep8 linting (trailing whitespace)Antoine Musso2014-11-161-15/+15
| | | | | | | | W291 trailing whitespace
* | pep8 linting (whitespace before/after)Antoine Musso2014-11-161-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | pep8 linting (blank lines expectations)Antoine Musso2014-11-161-8/+1
| | | | | | | | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* | pep8 linting (whitespaces)Antoine Musso2014-11-161-95/+93
| | | | | | | | | | | | | | | | | | | | | | 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
* | Minor modifications to get tests back to work.Sebastian Thiel2014-02-101-2/+10
| | | | | | | | Two tests are failing in the latest git version, would have to dig into it
* | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-582/+582
|/ | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* fixed testcaseSebastian Thiel2011-07-181-1/+1
| | | | a test cases was asserting the wrong variable
* new blame test addedSebastian Thiel2011-07-181-0/+9
| | | | | A test which makes the actual git-blame test to be sure it really works in the face of a changing git command implementation
* fixed test_repo to deal with new and old versions of the gitdb. windows is ↵Sebastian Thiel2011-06-131-1/+1
| | | | now ready to ship, regarding the test cases at least
* Fixed incorrect handling of rev_parse if it was fed with branches that ↵Sebastian Thiel2011-02-231-1/+6
| | | | looked like hexshas. Thanks to Ning (frostyplanet) who pointed this issue out
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+604
adjusted