modified the unit test to test with user for Lithium ODL.
This commit is contained in:
parent
13e932c02a
commit
e53be79467
@ -55,7 +55,7 @@ class ODLControllerUtilsTests(CharmTestCase):
|
|||||||
utils.run_odl(["feature:list"])
|
utils.run_odl(["feature:list"])
|
||||||
self.subprocess.check_output.assert_called_with(
|
self.subprocess.check_output.assert_called_with(
|
||||||
["/opt/opendaylight-karaf/bin/client", "-r", '20', "-h",
|
["/opt/opendaylight-karaf/bin/client", "-r", '20', "-h",
|
||||||
'localhost', "-a", '8101', 'feature:list']
|
'localhost', "-a", '8101', "-u", "karaf", 'feature:list']
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_installed_features(self):
|
def test_installed_features(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user