diff options
author | Nima Talebi <nima@autonomy.net.au> | 2009-05-24 00:26:23 +1000 |
---|---|---|
committer | Nima Talebi <nima@autonomy.net.au> | 2009-05-24 00:26:23 +1000 |
commit | af27ba4dd2ffdef8e4ee3abf187475c1b3303f71 (patch) | |
tree | e81421584332fb363e7b5ba22fecd585b083226e /unit-tests | |
parent | 6b1598c8b98699b115525155b43d19365e79dd08 (diff) | |
download | python-dmidecode-af27ba4dd2ffdef8e4ee3abf187475c1b3303f71.tar.gz python-dmidecode-af27ba4dd2ffdef8e4ee3abf187475c1b3303f71.tar.xz python-dmidecode-af27ba4dd2ffdef8e4ee3abf187475c1b3303f71.zip |
Completed preliminary reimplementation of type()
Updated test unit to match.
Throw an exception instead of returning None/False in some
functions.
Diffstat (limited to 'unit-tests')
-rwxr-xr-x | unit-tests/unit | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unit-tests/unit b/unit-tests/unit index 160641a..61a194c 100755 --- a/unit-tests/unit +++ b/unit-tests/unit @@ -161,6 +161,8 @@ try: sys.stdout.write(" * %s\n"%output.keys()) except IOError, e: failed(e, 2) + except LookupError, e: + failed(e, 2) except IOError: skipped() |