| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
doesn't need to do the same boring replacing I did.
(cherry picked from commit 10c62aa69193a8bc7b46ca24c2ad1d5008489665)
|
|
|
|
| |
One bug remaining: git on windows is returning status 0 for `git this-does-not-exist`, so no GitCommandError is raised.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
removed the combined output of stderr and stdout.
Also renamed with_status to extended_output.
The method_missing function needs to be modified, as it does a kwargs.pop(xxx, None); which resulted in with_excpetions=None -> False all the time...
Test should follow tomorrow.
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: David Aguilar <davvid@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|/
|
|
| |
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
| |
assert_true instead because optimized python won't see asserts.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
This test case ensures that cmd.execute can always handle
large command outputs. This test does so by reading a 700k
file into memory.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes people run development versions of git.
On these versions, "git version" returns, for example:
git version 1.5.4.rc2.1105.gfc5f2
The test_it_executes_git_to_shell_and_returns_result
testcase was updated to accept these versions of git.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
| |
|
| |
|
|
|
|
| |
up tests so they pass except for stderr test. Modified version information retrieval.
|
|
|
|
|
|
|
|
| |
This test ensures that trailing whitespace is preserved
when git.foo( with_raw_output=True ) is called, and vice
versa.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
| |
This test ensures that stderr is merged into stdout when
git.foo( with_stderr=True ) is called.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
| |
This test ensures that a GitCommandError is raised when git
returns a non-zero exit status.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
| |
test_git.py now tests the new git.foo( with_status=True )
mechanism.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This test runs the equivalent of:
"git hash-object < fixtures/cat_file_blob"
with the new istream mechanism and compares the computed hash.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
|
| |
The previous commit changed the way transform_kwargs handles
single-character flags with arguments. This commit updates the
testcase accordingly.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
| |
Also removed the shell_escape tests...
|
| |
|
| |
|
|
|