Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert moving tests out of 'git' folder, related to #1030 | Sebastian Thiel | 2020-07-12 | 1 | -0/+281 |
| | |||||
* | tests: move to root dir | Konrad Weihmann | 2020-07-12 | 1 | -281/+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> | ||||
* | Remove now unnecessary explicit Unicode string literal prefixes | Harmon | 2020-02-25 | 1 | -2/+2 |
| | |||||
* | Remove test.lib.asserts and use unittest.mock.patch directly | Harmon | 2020-02-16 | 1 | -3/+2 |
| | |||||
* | Replace assert_true with assertTrue | Harmon | 2020-02-16 | 1 | -3/+2 |
| | | | | Also change TestOutputStream to subclass TestBase rather than object | ||||
* | Replace raises with assertRaises | Harmon | 2020-02-16 | 1 | -5/+2 |
| | |||||
* | Replace assert_equal with assertEqual | Harmon | 2020-02-16 | 1 | -16/+15 |
| | | | | Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method | ||||
* | Remove and replace assert_match with assertRegex | Harmon | 2020-02-16 | 1 | -2/+1 |
| | | | | Also remove no longer used assert_not_none | ||||
* | Remove outdated checks for unittest.mock existence | Harmon | 2020-02-16 | 1 | -6/+1 |
| | |||||
* | Replace deprecated assertEquals alias with assertEqual in TestGit | Harmon | 2020-02-16 | 1 | -4/+4 |
| | |||||
* | Replace deprecated failUnlessRaises alias with assertRaises in tests | Harmon | 2020-02-16 | 1 | -2/+2 |
| | |||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -9/+3 |
| | |||||
* | Fix #889: Add DeepSource config and fix some major issues | Mohit Solanki | 2019-09-10 | 1 | -5/+8 |
| | |||||
* | Fix Git.transform_kwarg | František Nečas | 2019-07-29 | 1 | -0/+1 |
| | | | | | | | Kwargs were not transformed correctly if a value was set to 0 due to wrong if condition. Signed-off-by: František Nečas <fifinecas@seznam.cz> | ||||
* | Exclude kwarg when None | Andrew Rabert | 2018-08-05 | 1 | -1/+3 |
| | |||||
* | Add test that raises TypeError in git.execute(..., output_stream=file) | Dmitry Nikulin | 2018-08-05 | 1 | -0/+6 |
| | |||||
* | Replace function call with set literal | Hugo | 2018-03-18 | 1 | -1/+1 |
| | |||||
* | BF(WIN): where could report multiple hits, so choose first | Yaroslav Halchenko | 2017-11-28 | 1 | -1/+1 |
| | |||||
* | BF(WIN): use where instead of which while looking for git | Yaroslav Halchenko | 2017-11-28 | 1 | -1/+4 |
| | |||||
* | Merge branch 'master' into master | Sebastian Thiel | 2017-09-28 | 1 | -0/+9 |
|\ | |||||
| * | Renamed refresh to setup and removed alias function & added unittest | Odegard, Ken | 2017-07-09 | 1 | -0/+9 |
| | | | | | | | | | | | | Renamed to simplify and avoid issue with nose tests trying to use `setup` as a setup for testing. Unittest implements basic test for refreshing with a bad git path versus a good git path. | ||||
* | | test if it accepts environment variables in commands | Anson Mansfield | 2017-07-19 | 1 | -0/+15 |
|/ | |||||
* | Python 3.6 invalid escape sequence deprecation fixes | Ville Skyttä | 2017-04-09 | 1 | -1/+1 |
| | | | | https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior | ||||
* | Spelling fixes | Ville Skyttä | 2017-03-09 | 1 | -2/+2 |
| | |||||
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵ | Sebastian Thiel | 2016-10-22 | 1 | -13/+15 |
|\ | | | | | | | ankostis-cygwin | ||||
| * | src: import os.path as osp | Kostis Anagnostopoulos | 2016-10-16 | 1 | -13/+15 |
| | | |||||
* | | Fix flake8 error | Benjamin Poldrack | 2016-10-19 | 1 | -1/+1 |
| | | |||||
* | | Add a test for persistent git options | Benjamin Poldrack | 2016-10-18 | 1 | -0/+14 |
|/ | |||||
* | remote, #525: pump fetch-infos instead of GIL-read stderr | Kostis Anagnostopoulos | 2016-10-13 | 1 | -12/+9 |
| | | | | | | + `handle_process_output()` accepts null-finalizer, to pump completely stderr before raising any errors. + test: Enable `TestGit.test_environment()` on Windows (to checks stderr consumption). | ||||
* | src: No PyDev warnings | Kostis Anagnostopoulos | 2016-10-04 | 1 | -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 | ||||
* | io, #519: ALL open() --> with open() | Kostis Anagnostopoulos | 2016-10-01 | 1 | -8/+6 |
| | | | + Some cases had restructuring of code. | ||||
* | Proc, #519: Rework error-exc msgs & log thread-pumps errors | Kostis Anagnostopoulos | 2016-09-28 | 1 | -2/+4 |
| | | | | | + No WindowsError exception. + Add `test_exc.py` for unicode issues. + Single-arg for decoding-streams in pump-func. | ||||
* | Win, #519: FIX with_rw_directory() to remove read-only dirs | Kostis Anagnostopoulos | 2016-09-28 | 1 | -6/+3 |
| | | | | | + Stop using gitdb's respective helper. + Fix files chmod(555) which CANNOT DELETE on Windows (but do on Linux). | ||||
* | src: constify is_<platform>() calls | Kostis Anagnostopoulos | 2016-09-28 | 1 | -18/+19 |
| | | | + TCs: unittest-asserts for git-tests. | ||||
* | test, #519: Try appveyor advice for never-ending builds | Kostis Anagnostopoulos | 2016-09-28 | 1 | -1/+0 |
| | | | | | | | | | | | + see http://help.appveyor.com/discussions/problems/5334-nosetests-finsih-bu-build-stuck-and-next-job-dealys-to-start + Use `io.DEFAULT_BUFFER_SIZE`. + test_commit: replace asserts with unittest-asserts. - TRY Popen() NO universal_newlines: NO, reverted in next commits. + [travisci skip] | ||||
* | src, #519: collect all is_<platform>() calls | Kostis Anagnostopoulos | 2016-09-27 | 1 | -2/+2 |
| | |||||
* | Win, #519: FIX WinHangs: Popen() CREATE_NEW_PROCESS_GROUP to allow kill | Kostis Anagnostopoulos | 2016-09-26 | 1 | -2/+3 |
| | | | | | + FIXED most hangs BUT no more `git-daemon` un-killable! + Use logger for utils to replace stray print(). | ||||
* | test, #519: Popen() universal_newlin.es NoWindow in Winfoes | Kostis Anagnostopoulos | 2016-09-26 | 1 | -0/+2 |
| | | | | | | + More win-fixes: + Do not check unicode files in < py3. + util, #519: x4 timeout of lock-file blocking, failing in Appveyor. | ||||
* | test, #519: FIX appveyor conda & failures in py2.6 `assertRaisesRegexp` | Kostis Anagnostopoulos | 2016-09-26 | 1 | -1/+0 |
| | |||||
* | apveyor, #519: FIX incomplete Popen pump | Kostis Anagnostopoulos | 2016-09-26 | 1 | -3/+5 |
| | | | | | | | | + The code in `_read_lines_from_fno()` was reading the stream only once per invocation, so when input was larger than `mmap.PAGESIZE`, bytes were forgotten in the stream. + Replaced buffer-building code with iterate-on-file-descriptors. + Also set deamon-threads. | ||||
* | win: GC.collect on all TC.tearDown to fix appveyor hang runs | Kostis Anagnostopoulos | 2016-09-26 | 1 | -0/+4 |
| | | | | | + Fixed the hangs at `test_git:TestGit.test_handle_process_output()`. [travisci skip] | ||||
* | test, deps: FIX `mock` deps on py3. | Kostis Anagnostopoulos | 2016-09-25 | 1 | -1/+5 |
| | | | | + Del extra spaces, import os.path as osp | ||||
* | fix(cmd): allow any kind of status message | Sebastian Thiel | 2016-06-13 | 1 | -1/+0 |
| | | | | | I see no need in verifying the status code. It's enough to just get the error. | ||||
* | Need spaces in Emacs style encoding comment | Steven Colby | 2016-05-18 | 1 | -1/+1 |
| | | | | | Although it's hard to see, PEP-0263 does have ws delimiting the 'coding' string. This commit will fix the root cause of (at least) one bug: https://lists.fedoraproject.org/archives/list/eclipse-sig@lists.fedoraproject.org/thread/5XQ5JRHG6DPPMGRDU7TA2AO4EYS2H7AG/ | ||||
* | Support repeated kwargs | Vincent Driessen | 2016-04-19 | 1 | -0/+4 |
| | | | | | | | | | | | | | Some Git command line options are allowed to be repeated multiple times. Examples of this are the -C flag which may occur more than once to "strengthen" its effect, or the -L flag on Git blames, to select multiple blocks of lines to blame. $ git diff -C -C HEAD~1 HEAD $ git blame -L 1-3 -L 12-18 HEAD -- somefile.py This patch supports passing a list/tuple as the value part for kwargs, so that the generated Git command contain the repeated options. | ||||
* | fix(test): update to changes. | Marcos Dione | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | fix(travis): get py2.6 to work | Sebastian Thiel | 2015-07-03 | 1 | -1/+1 |
| | | | | Seems like OSX is somewhat special here ... . | ||||
* | fix(cmd): work with py3 | Sebastian Thiel | 2015-07-03 | 1 | -2/+6 |
| | | | | | | Fixed additional test which seems to have different outcomes depending on the interpreter. This just makes it work withouth attempting to find the root cause of the issue. | ||||
* | fix(cmd): don't open stdout when fetching | Sebastian Thiel | 2015-07-03 | 1 | -11/+21 |
| | | | | | | | This allows us to use the main thread to parse stderr to get progress, and resolve assertion failures hopefully once and for all. Relates to #301 | ||||
* | test(git): remove unnecessary fixture | Sebastian Thiel | 2015-07-03 | 1 | -14/+12 |
| | | | | | Test was adjusted as well to parse only a single file which simulates stderr output. |