lazy import for better coverage

This commit is contained in:
Ken Conley 2011-07-11 20:37:43 +00:00
parent 0b84f57fe9
commit afb98e9001
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,6 @@ import struct
import sys
import unittest
import roslib.rosenv
import roslib.stacks
import rosunit
class RoslibStacksTest(unittest.TestCase):
@ -112,6 +110,7 @@ class RoslibStacksTest(unittest.TestCase):
def test_list_stacks_by_path(self):
from roslib.stacks import list_stacks_by_path
import roslib.rosenv
# test with the ros stack
rr = roslib.rosenv.get_ros_root()