From ffaa5c4a2bfdf56513ea3d867f0621e29191df4f Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 2 Aug 2021 14:09:42 +0200 Subject: [PATCH] Refactoring --- src/cpl_query/tests/query_test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cpl_query/tests/query_test.py b/src/cpl_query/tests/query_test.py index aee2cf2b..9efe8310 100644 --- a/src/cpl_query/tests/query_test.py +++ b/src/cpl_query/tests/query_test.py @@ -3,7 +3,7 @@ import unittest from random import randint from cpl.utils import String -from cpl_query.exceptions import InvalidTypeException, WrongTypeException, ArgumentNoneException +from cpl_query.exceptions import InvalidTypeException, ArgumentNoneException from cpl_query.extension.list import List from cpl_query.tests.models import User, Address @@ -160,8 +160,7 @@ class QueryTest(unittest.TestCase): def test_for_each(self): users = [] - self._tests.for_each( - lambda user: ( + self._tests.for_each(lambda user: ( users.append(user) ) )