We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c89ef8e commit 1b1dab6Copy full SHA for 1b1dab6
1 file changed
tests/test_helpers_generators.py
@@ -4,13 +4,14 @@
4
5
6
class TestHelpersGenerators(unittest.TestCase):
7
- def test_get_list_chunks(self):
+ def test_get_list_chunks_for_big_list(self):
8
mocked_iterable = get_list_chunks(list(range(15)), 10)
9
chunk = next(mocked_iterable)
10
self.assertEqual(len(chunk), 10)
11
12
self.assertEqual(len(chunk), 5)
13
14
+ def test_get_list_chunks_for_small_list(self):
15
mocked_iterable = get_list_chunks(list(range(5)), 10)
16
17
0 commit comments