Refactoring

This commit is contained in:
Sven Heidemann 2021-08-02 14:09:42 +02:00
parent b9499108d8
commit ffaa5c4a2b

View File

@ -3,7 +3,7 @@ import unittest
from random import randint from random import randint
from cpl.utils import String 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.extension.list import List
from cpl_query.tests.models import User, Address from cpl_query.tests.models import User, Address
@ -160,8 +160,7 @@ class QueryTest(unittest.TestCase):
def test_for_each(self): def test_for_each(self):
users = [] users = []
self._tests.for_each( self._tests.for_each(lambda user: (
lambda user: (
users.append(user) users.append(user)
) )
) )