summaryrefslogtreecommitdiff
path: root/test/git
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: add utils.pop_key() testcasesDavid Aguilar2008-05-291-6/+20
| | | | | | | This commit cleans up some unused variables in test_utils.py and adds some testcases for utils.pop_key(). Signed-off-by: David Aguilar <davvid@gmail.com>
* tests: add a test for the new with_raw_output mechanismDavid Aguilar2008-05-291-0/+6
| | | | | | | | 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>
* tests: add a test for the new with_stderr mechanismDavid Aguilar2008-05-291-0/+5
| | | | | | | 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>
* tests: add a test for git.foo( with_exceptions=True )David Aguilar2008-05-291-1/+10
| | | | | | | This test ensures that a GitCommandError is raised when git returns a non-zero exit status. Signed-off-by: David Aguilar <davvid@gmail.com>
* tests: add a git.foo( with_status=True ) testcaseDavid Aguilar2008-05-291-0/+3
| | | | | | | test_git.py now tests the new git.foo( with_status=True ) mechanism. Signed-off-by: David Aguilar <davvid@gmail.com>
* tests: add a test for git.foo( istream=fh )David Aguilar2008-05-291-0/+7
| | | | | | | | | | 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>
* tests: update test_git.py to use the new single-character flag styleDavid Aguilar2008-05-281-1/+1
| | | | | | | | 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>
* use ~/foo instead of /foo for repo.Florian Apolloner2008-05-221-9/+9
|
* fixed errors in the test, two permission errors remaining, thx to mock?!?!Florian Apolloner2008-05-212-26/+6
| | | | Also removed the shell_escape tests...
* fixed incorrect test importMichael Trier2008-05-201-1/+0
|
* added in note about how to handle date time information. Fixed up repo ↵Michael Trier2008-05-181-2/+2
| | | | tests for the removal of the shared option.
* lots of little fixes. Corrected problem with creating bare repo. Added ↵Michael Trier2008-05-181-1/+15
| | | | Repo.create alias.
* Corrected problem with tree.__len__ getting confused with zero length files. ↵Michael Trier2008-05-171-1/+11
| | | | Thanks Alan Briolat.
* Fixed up rspec comments that are passing.Michael Trier2008-05-081-27/+0
|
* More small changes to tests. Commented out tests not passing because of ↵Michael Trier2008-05-071-75/+81
| | | | inability to figure out mocking for them.
* Moved test stuff around and modified imports to just clean things up a bit.Michael Trier2008-05-0711-28/+12
|
* cleaned up a bunch of imports for the tests.Michael Trier2008-05-0711-86/+86
|
* just more documentation fixes.Michael Trier2008-05-071-1/+1
|
* initial projectMichael Trier2008-05-0712-0/+824