diff options
author | elie <elie> | 2012-11-23 14:52:35 +0000 |
---|---|---|
committer | elie <elie> | 2012-11-23 14:52:35 +0000 |
commit | ff137cd24aa250e963580d1baa350a0bd654169c (patch) | |
tree | 71a484ed207bde0b3904f3e2e83989c61467df7f /test/suite.py | |
parent | ab51eca69be804c9d370cf2e5b9263276ccc274b (diff) | |
download | pyasn1-ff137cd24aa250e963580d1baa350a0bd654169c.tar.gz |
fix to unit test suites imports to be able to run each from
their current directory
Diffstat (limited to 'test/suite.py')
-rw-r--r-- | test/suite.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/suite.py b/test/suite.py index 886b012..720f3d6 100644 --- a/test/suite.py +++ b/test/suite.py @@ -1,7 +1,5 @@ -import test.type.suite -import test.codec.ber.suite -import test.codec.cer.suite -import test.codec.der.suite +import type.suite +import codec.suite from pyasn1.error import PyAsn1Error try: import unittest @@ -12,10 +10,8 @@ except ImportError: suite = unittest.TestSuite() for m in ( - test.type.suite, - test.codec.ber.suite, - test.codec.cer.suite, - test.codec.der.suite + type.suite, + codec.suite ): suite.addTest(getattr(m, 'suite')) |