'Test that missing the scope in request body raises an exception.
Raises exception.SchemaValidationError() - error 400 Bad Request'

def test_invalid_scope_body(self):

    token_id = uuid.uuid4().hex
    body = self._create_generate_saml_request(token_id, self.SERVICE_PROVDIER_ID)
    del body['auth']['scope']
    self.post(self.SAML_GENERATION_ROUTE, body=body, expected_status=http_client.BAD_REQUEST)
