def METHOD_NAME(self):
    user = "example-test"
    roles = ["read", "sys-admin"]
    status = self.client.admin_revoke_roles(user, roles)
    assert status == 0
    time.sleep(2)
    user_details = self.client.admin_query_user(user)
    assert user_details == ["read-write"]