def test_copying(self, mock_copy, copy_manifest):
     assert not mock_copy.called
     ship_it._package_virtualenv_with_manifest(copy_manifest, 'req', 'set')
     mock_copy.assert_called_once_with('req',
                                       copy_manifest.local_package_path)
 def test_installing(self, mock_install, request, man_fixture):
     the_manifest = request.getfuncargvalue(man_fixture)
     assert not mock_install.called
     ship_it._package_virtualenv_with_manifest(the_manifest, 'req', 'set')
     mock_install.assert_called_once_with('set')