aboutsummaryrefslogtreecommitdiff
path: root/git/test
AgeCommit message (Collapse)Author
2015-01-10Repo.init() now supports paths with a '~' in it, or environment variables in ↵Sebastian Thiel
general. Fixes #83
2015-01-10Added search_parent_directories keyword argument to Repo type.Sebastian Thiel
Now by default, we will not walk up the directory structure and possibly find git directories that the user didn't intend to find. If required, that kind of behaviour can be turned back on. Fixes #65
2015-01-10rewrote test-string to have a chance to make flake8 happy.Sebastian Thiel
That way, flake won't have to completely ignore issues it might have in other portions of this file.
2015-01-10Implemented multi-line parsing of git-config to the point where a sepcific ↵Sebastian Thiel
test-file is working. This brings us much closer to what git can do, and should at least prevent errors while reading configuration files (which would break a lot of features, like handling of remotes since these rely reading configuration files). Fixes #112
2015-01-09Added test for complex blame revision query.Sebastian Thiel
It works as expected by me at least. Related to #71
2015-01-09Now Diff.__str__ works correctly in all python versions.Sebastian Thiel
Additionally, unicode handling was improved to the point where we deal with all diff(create_path=True) data as binary. Therefore we don't claim to know all encodings of all textfiles in the world, even though we still assume that everything git throws at us is utf-8 encoded. Fixes #113
2015-01-09Fixed mode-handling in Diff creation, and added assertions to catch this in ↵Sebastian Thiel
future There is still some work todo in terms of how we handle the encoding
2015-01-09Added test to verify binary diffs are working as well.Sebastian Thiel
Related to #74
2015-01-09Added test to verify binary diffs are working as well.Sebastian Thiel
Related to #74
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 support for rename detection in raw mode (which is the default).Sebastian Thiel
Fixes #36
2015-01-08Added assertion to better detect diff issues.Sebastian Thiel
Helps fixing #35 Also, the production status was changed to 'stable', which should have been done much earlier.
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-07Made sure commits accept unicode or unicode charactersSebastian Thiel
2015-01-07fix pep8firm1
2015-01-07add tests for commit by actorfirm1
2015-01-07Once again, make flake8 happySebastian Thiel
2015-01-07This should fix flake8 on py3Sebastian Thiel
See #177
2015-01-06Bumped gitdb requirement.0.3.4Sebastian Thiel
This should help getting the latest version
2015-01-06Improved windows test suite.Sebastian Thiel
Also added code to show how to deal with #147
2015-01-06Fixed test_git once againSebastian Thiel
2015-01-06fixed test_gitSebastian Thiel
2015-01-06Make flake8 happySebastian Thiel
2015-01-06test_streams worksSebastian Thiel
However, there is a performance regression in test-odb
2015-01-06test_base worksSebastian Thiel
2015-01-06test_tree worksSebastian Thiel
2015-01-06test_submodule worksSebastian Thiel
2015-01-06test_stat worksSebastian Thiel
2015-01-06test_repo worksSebastian Thiel
2015-01-06test_remote worksSebastian Thiel
And I have to wonder why git-daemon serves under py2.7, but really wants receive-pack to be allowed under 3.4. Maybe it's a repository override which for some reason doesn't work in py3.4 ? Maybe because the change is not flushed ?
2015-01-06test_reflog worksSebastian Thiel
2015-01-06test_index worksSebastian Thiel
2015-01-05test_git worksSebastian Thiel
2015-01-05test_fun worksSebastian Thiel
2015-01-05test_commit works once againSebastian Thiel
2015-01-05Added test of #147 to verify it works.Sebastian Thiel
Applied a few more fixes to commit implementation, possibly not the last
2015-01-05Intermediate commit: test_config and test_actor worksSebastian Thiel
Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on
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 unnecessary (non-gitpython) tests and fixed flake80.3.3Sebastian Thiel
2015-01-04Replaced ordered dict with standard version; used logging moduleSebastian Thiel
All performance tests still print to stderr, but do so in a py3 compatible way
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-04Applied autopep8Sebastian Thiel
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive