def test_action_start_check_health(self):
        url = self.cluster_id % '/clusters/%s/action'
        request_data = json.dumps({'check_health': None})

        # Cluster's state is not 'SUCCESSFUL' yet.
        return_value = self.test_client.post(url, data=request_data)
        self.assertEqual(403, return_value.status_code)

        # Cluster has been deployed successfully.
        cluster_db.update_cluster_state(
            self.cluster_id, state='SUCCESSFUL'
        )
        return_value = self.test_client.post(url, data=request_data)
        self.assertEqual(202, return_value.status_code)
dataset/ETHPy150Open openstack/compass-core/compass/tests/api/test_health_check_api.py/TestHealthCheckAPI.test_action_start_check_health/swapped operands of `%`