Unit test update

This commit is contained in:
Corey Bryant 2015-05-07 15:24:24 +00:00
parent 7a9552d892
commit bb411ad6d3

View File

@ -588,7 +588,7 @@ class TestCinderUtils(CharmTestCase):
projects_yaml = openstack_origin_git projects_yaml = openstack_origin_git
join.return_value = 'joined-string' join.return_value = 'joined-string'
cinder_utils.git_post_install(projects_yaml) cinder_utils.git_post_install(projects_yaml)
pip_install.assert_called_with('mysql-python', venv=True) pip_install('mysql-python', venv='joined-string')
expected = [ expected = [
call('joined-string', '/etc/cinder'), call('joined-string', '/etc/cinder'),
] ]