From 3b36c06f9223322e23e3885759355593b3c598a3 Mon Sep 17 00:00:00 2001 From: Juha Kosonen Date: Tue, 30 Jan 2018 14:59:05 +0200 Subject: Remove duplicated code related to snaps creds Add support for providing credentials in snaps_utils. JIRA: FUNCTEST-916 Change-Id: I3e027229d213d3791a115920f7012309cc027712 Signed-off-by: Juha Kosonen --- functest/tests/unit/openstack/rally/test_rally.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest/tests') diff --git a/functest/tests/unit/openstack/rally/test_rally.py b/functest/tests/unit/openstack/rally/test_rally.py index ba8a241f..92177f36 100644 --- a/functest/tests/unit/openstack/rally/test_rally.py +++ b/functest/tests/unit/openstack/rally/test_rally.py @@ -26,7 +26,7 @@ class OSRallyTesting(unittest.TestCase): os_creds = OSCreds( username='user', password='pass', auth_url='http://foo.com:5000/v3', project_name='bar') - with mock.patch('snaps.openstack.tests.openstack_tests.' + with mock.patch('functest.opnfv_tests.openstack.snaps.snaps_utils.' 'get_credentials', return_value=os_creds) as m: self.rally_base = rally.RallyBase() self.assertTrue(m.called) -- cgit 1.2.3-korg