modified the unit test to test with user for Lithium ODL.

This commit is contained in:
Narinder Gupta (for canonical email id) 2015-11-17 10:20:15 -06:00
parent 13e932c02a
commit e53be79467

View File

@ -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):