@patch('salt.modules.rpm.HAS_RPM', True)
    def test_version_cmp_rpm(self):
        rpm.rpm = MagicMock(return_value=MagicMock)
        with patch('salt.modules.rpm.rpm.labelCompare', MagicMock(return_value=0)):
            self.assertEqual(0, rpm.version_cmp('1', '2'))  # mock returns 0, which means RPM was called
``flocker-deploy`` prints a helpful message when it's done.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/rpm_test.py/RpmTestCase.test_version_cmp_rpm--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/cli/functional/test_deploy_script.py/FlockerDeployTests.test_output