def test_multiple_maintenance_mode_deactivations(self):
        self._activate_and_deactivate_maintenance_mode()
        try:
            self.client.maintenance_mode.deactivate()
            self.fail('Expected the second stop request to fail '
                      'since maintenance mode is not active.')
        except exceptions.NotModifiedError as e:
            self.assertEqual(304, e.status_code)
        self.assertTrue(e.message in 'already deactivated')
dataset/ETHPy150Open cloudify-cosmo/cloudify-manager/rest-service/manager_rest/test/test_maintenance_mode.py/MaintenanceModeTest.test_multiple_maintenance_mode_deactivations/swapped operands of `in`