diff options
| author | Jonathan Lange <jml@mumak.net> | 2007-01-14 16:56:23 +1100 |
|---|---|---|
| committer | Jonathan Lange <jml@mumak.net> | 2007-01-14 16:56:23 +1100 |
| commit | 456a72762dba322282be49fbb7c6ef522cacb369 (patch) | |
| tree | 9f041f4b1deb58fb31af6be48fcbf9806d9294df /python/subunit/__init__.py | |
| parent | 46661c83dee2138c9918798f36d8b40edab5ffad (diff) | |
| download | subunit-git-456a72762dba322282be49fbb7c6ef522cacb369.tar.gz | |
Add sibpath
Diffstat (limited to 'python/subunit/__init__.py')
| -rw-r--r-- | python/subunit/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py index d97a15b..caab176 100644 --- a/python/subunit/__init__.py +++ b/python/subunit/__init__.py @@ -27,6 +27,11 @@ def test_suite(): import subunit.tests return subunit.tests.test_suite() + +def sibpath(path, sibling): + return os.path.join(os.path.dirname(os.path.abspath(path)), sibling) + + class TestProtocolServer(object): """A class for receiving results from a TestProtocol client.""" |
