diff options
author | 2018-01-30 14:59:05 +0200 | |
---|---|---|
committer | 2018-01-30 14:59:05 +0200 | |
commit | 3b36c06f9223322e23e3885759355593b3c598a3 (patch) | |
tree | 518c1f0c8684beaacc991943870423f73a7a86d0 /functest/tests/unit/openstack/rally/test_rally.py | |
parent | 8e416aee220bf6959e2e21f18a5ebfec1421858b (diff) |
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 <juha.kosonen@nokia.com>
Diffstat (limited to 'functest/tests/unit/openstack/rally/test_rally.py')
-rw-r--r-- | functest/tests/unit/openstack/rally/test_rally.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |