diff options
author | Radek Novacek <rnovacek@redhat.com> | 2014-05-19 12:07:28 +0200 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2014-05-19 12:49:08 +0200 |
commit | 93ec6c96b04387f48433fcf3edc8058e1e79efcc (patch) | |
tree | 286b23bd0515814e8f59b1f2ff8be0431cc84075 /src/service-dbus/test/testService.py | |
parent | 2517d041f10ce7907181b75fb20b333a79a352c8 (diff) | |
download | openlmi-providers-93ec6c96b04387f48433fcf3edc8058e1e79efcc.tar.gz openlmi-providers-93ec6c96b04387f48433fcf3edc8058e1e79efcc.tar.xz openlmi-providers-93ec6c96b04387f48433fcf3edc8058e1e79efcc.zip |
Test: get rid of 'import unittest'
Always use 'from lmi.test import unittest' instead of plain 'import
unittest', because it automagically imports unittest2 on python 2.6.
Diffstat (limited to 'src/service-dbus/test/testService.py')
-rw-r--r-- | src/service-dbus/test/testService.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service-dbus/test/testService.py b/src/service-dbus/test/testService.py index 1c0efec..e258a4a 100644 --- a/src/service-dbus/test/testService.py +++ b/src/service-dbus/test/testService.py @@ -18,7 +18,7 @@ # Authors: Robin Hack <rhack@redhat.com>; Jan Grec <jgrec@redhat.com>; Jan Safranek <jsafrane@redhat.com> # -import unittest +from lmi.test import unittest import subprocess from lmi.test import lmibase |