summaryrefslogtreecommitdiff
path: root/git/test/performance
Commit message (Collapse)AuthorAgeFilesLines
* tests: move to root dirKonrad Weihmann2020-07-125-425/+0
| | | | | | | | | 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>
* Revert moving tests out of 'git' folder, related to #1030Sebastian Thiel2020-07-125-0/+425
|
* tests: move to root dirKonrad Weihmann2020-07-125-425/+0
| | | | | | | | | 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>
* Replace assert_equal with assertEqualHarmon2020-02-161-3/+3
| | | | Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method
* Remove and replace compat.xrangeHarmon2020-02-081-2/+1
|
* Update test_streams.pyPratik Anurag2019-10-151-2/+2
|
* renamed unused variablesPratik Anurag2019-10-151-1/+1
|
* renamed ununsed variablesPratik Anurag2019-10-151-1/+1
|
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-182-3/+3
|
* fix(win_mmap): unmark hidden win_errors due to smmap unicode foesKostis Anagnostopoulos2016-10-221-6/+0
| | | | | | | Now 2 more TCs pass in Windows: + TestRepo.test_file_handle_leaks() + TestObjDbPerformance.test_random_access() See https://github.com/gitpython-developers/smmap/pull/30
* Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵Sebastian Thiel2016-10-222-19/+21
|\ | | | | | | ankostis-cygwin
| * Merge with #532, fix unicode filenames with escapesurogatesKostis Anagnostopoulos2016-10-161-1/+1
| |\
| * | src: reduce needless deps to `gitdb.util`Kostis Anagnostopoulos2016-10-161-1/+1
| | |
| * | src: import os.path as ospKostis Anagnostopoulos2016-10-162-19/+22
| | |
* | | Fix some typosSantiago Castro2016-10-201-1/+1
| |/ |/|
* | fix(unicode): use surrogateescape in bytes.decodeSebastian Thiel2016-10-161-1/+1
|/ | | | | | | | | | | | | | That way, we will try to decode as default encoding (usually utf-8), but allow ourselves to simply keep bytes that don't match within the resulting unicode string. That way, we allow for lossless decode/encode cycles while still assuring that decoding never fails. NOTE: I was too lazy to create a test that would verify it, but manually executed https://github.com/petertodd/gitpython-unicode-error. fixes #532
* imp(performance): execute performance tests on travisSebastian Thiel2016-10-111-3/+0
| | | | Fixes #524
* FIX #526: Do not depend on test-sourcesKostis Anagnostopoulos2016-10-111-1/+1
| | | | | | + Move `HIDE_WINDOWS_KNOWN_ERRORS` flag from `git.test.lib.helper-->git.util`; regular modules in main-sources folder also depend on that flag. + Use unittest.SkipTest instead of from non-standard `nose` lib.
* src: No PyDev warningsKostis Anagnostopoulos2016-10-041-2/+2
| | | | | | | | + Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines
* hidden win-errs: Let leaking TCs run till end, then hideKostis Anagnostopoulos2016-10-041-2/+2
| | | | | | | | | + Detect code breaking the body of TCs eventually hidden win-errors by raising SkipTest ALAP. + submodule.base.py: import classes from `git.objects` instead of `utils`. + had to ++ ulimit 100->110 for the extra code tested (more leaks :-) + Centralize is_win detection.
* Appveyor: Add and set HIDE_WINDOWS_KNOWN_ERRORS=Falsewinerr_showKostis Anagnostopoulos2016-10-032-1/+4
| | | | | + Collect all "acknowledged" failing TCs on Appveyor and use "HIDE_WINDOWS_KNOWN_ERRORS" var to hide them.
* TC, #519: DISABLE failing testsKostis Anagnostopoulos2016-10-011-1/+6
| | | + Just to see Apveyor all green and merge; the TCs HAVE TO BE FIXED.
* FIX hook TC on PY3+Win & indeterministic lock timing.Kostis Anagnostopoulos2016-09-291-0/+3
| | | | | | | | | + Cannot `index.path` into ENV, it is bytes! + The hook TC never runs on linux! + Unblock removal of odbfile in perf-large streams TC. + Attempt to unblock removal of submodule file by intensive cleaning. more unblock files
* Win, #519: FIX with_rw_directory() to remove read-only dirsKostis Anagnostopoulos2016-09-281-2/+2
| | | | | + Stop using gitdb's respective helper. + Fix files chmod(555) which CANNOT DELETE on Windows (but do on Linux).
* win: GC.collect on all TC.tearDown to fix appveyor hang runsKostis Anagnostopoulos2016-09-261-0/+4
| | | | | + Fixed the hangs at `test_git:TestGit.test_handle_process_output()`. [travisci skip]
* fix(commit): serialization timezone handlingSebastian Thiel2015-08-171-1/+1
| | | | | | | | | Previously timezones which were not divisable by 3600s would be parsed correctly, but would serialize into a full hour, rounded up. Now floating point computation is used which fixes the issue. Related to #336
* Added search_parent_directories keyword argument to Repo type.Sebastian Thiel2015-01-101-2/+2
| | | | | | | | 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
* Made improvements to assure test-cases don't leak file handlesSebastian Thiel2015-01-071-0/+11
| | | | | | | | 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
* Once again, make flake8 happySebastian Thiel2015-01-071-1/+1
|
* This should fix flake8 on py3Sebastian Thiel2015-01-071-1/+1
| | | | See #177
* Make flake8 happySebastian Thiel2015-01-061-1/+0
|
* test_streams worksSebastian Thiel2015-01-061-1/+1
| | | | However, there is a performance regression in test-odb
* Fixed io types to make tests work on PY2 once again.py3Sebastian Thiel2015-01-051-2/+2
| | | | Now it's about going through PY3 issues
* Dum brute force conversion of all types.Sebastian Thiel2015-01-041-3/+6
| | | | | | 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 unnecessary (non-gitpython) tests and fixed flake80.3.3Sebastian Thiel2015-01-041-190/+0
|
* Replaced ordered dict with standard version; used logging moduleSebastian Thiel2015-01-044-49/+60
| | | | All performance tests still print to stderr, but do so in a py3 compatible way
* Removed 'from X import *' whereever possibleSebastian Thiel2015-01-045-13/+18
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-043-11/+17
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2015-01-042-2/+3
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Auto-skip performance tests more quietly on travisSebastian Thiel2015-01-035-25/+11
| | | | | ... and be able to run performance tests independently of the chosen performance test repo Now all tests run fine locally
* Fixed all remaining non-performance testsSebastian Thiel2015-01-036-30/+40
| | | | | | | * 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-195-31/+52
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-164-16/+16
| | | | W291 trailing whitespace
* pep8 linting (whitespace before/after)Antoine Musso2014-11-164-17/+17
| | | | | | | | | | | | | 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-164-4/+7
| | | | | | 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-165-70/+70
| | | | | | | | | | | 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/+2
| | | | Two tests are failing in the latest git version, would have to dig into it
* Adjusted required versions of pre-requisites, now the majority of the tests workSebastian Thiel2014-02-101-2/+2
|
* tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-095-465/+465
| | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )