summaryrefslogtreecommitdiff
path: root/git/test/test_docs.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: move to root dirKonrad Weihmann2020-07-121-493/+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-121-0/+493
|
* tests: move to root dirKonrad Weihmann2020-07-121-493/+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>
* Now it should really start working - go, doctests, go!Sebastian Thiel2020-04-111-1/+1
|
* Maybe this fixes the doc testsSebastian Thiel2020-04-111-1/+1
|
* This should fix tests, as tree[0] is not a tree anymoreSebastian Thiel2020-04-111-1/+1
|
* Replace deprecated failUnlessRaises alias with assertRaises in testsHarmon2020-02-161-2/+2
|
* fixed unused variable found PYL-W0612Anil Khatri2019-10-221-1/+1
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* renamed unused variablesPratik Anurag2019-10-151-1/+1
|
* remove previously added debug code from test_doc.pySebastian Thiel2019-09-301-1/+1
|
* Try to fix tests; get more debug outputSebastian Thiel2019-09-301-1/+1
|
* Fix test bound to major versionSebastian Thiel2019-08-111-1/+1
|
* fix whitespace violationSebastian Thiel2018-07-151-1/+0
|
* Update test_docs.pyMark2018-07-151-17/+17
| | | Using "import as" is normally a time saver but for usability of the documentation, please consider removing osp and join with fully qualified calls for better snippet readability.
* github -> GitHubHugo2018-03-181-1/+1
|
* Fix test_docsSebastian Thiel2017-09-281-2/+2
| | | | It's not portable to test for a secific author name
* Spelling fixesVille Skyttä2017-03-091-1/+1
|
* src: import os.path as ospKostis Anagnostopoulos2016-10-161-12/+14
|
* daemon, #525: FIX remote urls in config-filesKostis Anagnostopoulos2016-10-121-1/+1
| | | | | | | | | | | | + Parse most remote & config-urls \-->/. + Used relative daemon-paths. + Use git-daemon PORT above 10k; on Windows all below need Admin rights. +FIXED git-daemon @with_rw_and_rw_remote_repo(): + test_base.test_with_rw_remote_and_rw_repo() PASS. + test_remote.test_base() now freezes! (so still hidden win_err) + repo_test: minor finally delete test-repos created inside this repo. + util: delete unused `absolute_project_path()`.
* io: Wrap (probably) allconfig_writers in `with` blocksKostis Anagnostopoulos2016-10-041-5/+4
|
* src: No PyDev warningsKostis Anagnostopoulos2016-10-041-5/+6
| | | | | | | | + 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-6/+3
| | | | | | | | | + 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: Set HIDE_WINDOWS_KNOWN_ERRORS=TrueKostis Anagnostopoulos2016-10-031-2/+1
| | | | | + Update error-conditions for PY-versions. + The purpose is to have NO TC FAILURES (with the minimum possible conditions).
* Appveyor: Add and set HIDE_WINDOWS_KNOWN_ERRORS=Falsewinerr_showKostis Anagnostopoulos2016-10-031-0/+7
| | | | | + Collect all "acknowledged" failing TCs on Appveyor and use "HIDE_WINDOWS_KNOWN_ERRORS" var to hide them.
* io, #519: ALL open() --> with open()Kostis Anagnostopoulos2016-10-011-1/+2
| | | + Some cases had restructuring of code.
* Win, #519: FIX with_rw_directory() to remove read-only dirsKostis Anagnostopoulos2016-09-281-2/+4
| | | | | + Stop using gitdb's respective helper. + Fix files chmod(555) which CANNOT DELETE on Windows (but do on Linux).
* TCs: unittestize many test-docs assertionsKostis Anagnostopoulos2016-09-281-29/+29
|
* win: GC.collect on all TC.tearDown to fix appveyor hang runsKostis Anagnostopoulos2016-09-261-1/+6
| | | | | + Fixed the hangs at `test_git:TestGit.test_handle_process_output()`. [travisci skip]
* Update Remotes section (#502)Forrest Hopkins2016-08-241-2/+7
| | | | | Update Remotes section The Remotes section was missing some pretty important info.
* fix(test_docs): skip master-dependent assertionSebastian Thiel2016-06-141-1/+3
| | | | | It usually fails on branches, which doesn't help assessing PRs.
* fix(test): remove unused importSebastian Thiel2016-06-021-1/+1
|
* fix(test): do not skip test on travisSebastian Thiel2016-06-011-2/+0
| | | | | | | Please exclude the particular assertion instead. Related to https://github.com/gitpython-developers/GitPython/commit/a3f24f64a20d1e09917288f67fd21969f4444acd#commitcomment-17691581
* Skip test that always fails on Travis CIfix-ci-testsVincent Driessen2016-05-301-5/+6
|
* Need spaces in Emacs style encoding commentSteven Colby2016-05-181-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/
* Fix assertion2.0.0Sebastian Thiel2016-04-221-1/+1
| | | | Who would have thought we ever go 2.0 ;).
* Correct doc errorsMarian Wieczorek2015-07-161-1/+1
| | | | | | | | | revA..revB &rarr; revA...revB (three instead of two dots) [base.py, line 467](https://github.com/gitpython-developers/GitPython/blob/master/git/repo/base.py#L467) rorepo is a ~~a~~ Repo instance [test_docs.py, line 21](https://github.com/gitpython-developers/GitPython/blob/master/git/test/test_docs.py#L21) closes #314
* fix(test_docs): we are at major version 1 nowSebastian Thiel2015-04-161-1/+1
| | | | It expected to see major version 0 though.
* Replace GIT_SSH with GIT_SSH_COMMAND for SSH key management.Jonas Trappenberg2015-02-091-9/+0
| | | | | | Also move untestable documentation out of test. Related: #234, #242
* Removed Git.sshkey() as it couldn't be distributed properly.0.3.6Sebastian Thiel2015-01-221-2/+2
| | | | | | | However, I kept information on how to achieve the same thing with `custom_environment()` in the test. Related to #234
* Added test for `sshkey` context manager.Sebastian Thiel2015-01-221-1/+1
| | | | | | | | It verifies that the script is actually called. Interestingly, the shell script version works within an msysgit environment on windows. Fixes #234
* Merge branch 'master' into teeberg-masterSebastian Thiel2015-01-221-3/+294
|\ | | | | | | | | | | Need latest master to proceed with test Conflicts: doc/source/tutorial.rst
| * This should finally fix travis ciSebastian Thiel2015-01-221-1/+1
| |
| * Fetch now deals with custom refspecs much better.Sebastian Thiel2015-01-221-1/+1
| | | | | | | | | | | | | | | | | | Even though the test-csae only verifies this spec: +refs/pull/*:refs/heads/pull/* I could locally verify that it indeed handles other ones just as well: +refs/pull/*:refs/pull/* Fixes #243
| * Overhauled all tutorials, and placed them in a unit-test.Sebastian Thiel2015-01-221-3/+285
|/ | | | | | That way they are protected from regression. Fixes #239
* Added advance usage examples to tutorial and made minor fixes.Sebastian Thiel2015-01-211-8/+134
| | | | | | GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239
* Initial set of documentation improvements, and a fix to the submodule tests.Sebastian Thiel2015-01-211-4/+45
| | | | | | Now travisci tests should work once again. Related to #239
* Added tutorial about initializing a repository.Sebastian Thiel2015-01-191-0/+26
Additionally, for this and future examples, there is a test_doc.py suite to contain all code mentioned in the docs. That way, we know if things stop working. Fixes #236