diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 16:20:35 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-22 16:20:35 +0200 |
| commit | 3c658c16f3437ed7e78f6072b6996cb423a8f504 (patch) | |
| tree | 4dcb21b565410c48878be31deebbb441201d542b /test/testlib/__init__.py | |
| parent | 59e26435a8d2008073fc315bafe9f329d0ef689a (diff) | |
| parent | b197b2dbb527de9856e6e808339ab0ceaf0a512d (diff) | |
| download | GitPython-3c658c16f3437ed7e78f6072b6996cb423a8f504.tar.gz GitPython-3c658c16f3437ed7e78f6072b6996cb423a8f504.zip | |
Merge branch 'testsystem' into improvements
* testsystem:
Adjusted all remaining test suites to use the new TestBase class where appropriate
Fixed decorator issue that would cause a function to be passed even though there is a default argument. This feels inconsistent as the 'argument passer' wrapper function can be called with a function or a string as first argument depending on whether the client code was explicitly passing an argument or not. That ... sucks. Now test for that case specifically and fail with a proper assertion error. I don't like it, but what can I do ... .
Implemented decorators, tests pass at least
Added frame for new Repo handling and some neat decorators, including tests that test whether the testing framework does what it should
Diffstat (limited to 'test/testlib/__init__.py')
| -rw-r--r-- | test/testlib/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/testlib/__init__.py b/test/testlib/__init__.py index f364171b..2133eb8c 100644 --- a/test/testlib/__init__.py +++ b/test/testlib/__init__.py @@ -8,7 +8,6 @@ import inspect from mock import * from asserts import * from helper import * -from unittest import TestCase __all__ = [ name for name, obj in locals().items() if not (name.startswith('_') or inspect.ismodule(obj)) ] |
