aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-02-27 08:18:58 -0800
committerGravatar GitHub <[email protected]>2020-02-27 08:18:58 -0800
commitb2c717ecdc47bb49d5f1b8ea6370611eb7cbeb31 (patch)
tree19e23c93f3cd24cd285dcf781ed858410db9b98d /tests
parentMerge pull request #790 from ks129/master (diff)
parentMerge branch 'master' into channel_constants_check (diff)
Merge pull request #785 from Numerlor/channel_constants_check
Verify channels against server and reddit OAuth2 in constants on startup.
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/test_utils.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/bot/test_utils.py b/tests/bot/test_utils.py
index 58ae2a81a..d7bcc3ba6 100644
--- a/tests/bot/test_utils.py
+++ b/tests/bot/test_utils.py
@@ -35,18 +35,3 @@ class CaseInsensitiveDictTests(unittest.TestCase):
instance = utils.CaseInsensitiveDict()
instance.update({'FOO': 'bar'})
self.assertEqual(instance['foo'], 'bar')
-
-
-class ChunkTests(unittest.TestCase):
- """Tests the `chunk` method."""
-
- def test_empty_chunking(self):
- """Tests chunking on an empty iterable."""
- generator = utils.chunks(iterable=[], size=5)
- self.assertEqual(list(generator), [])
-
- def test_list_chunking(self):
- """Tests chunking a non-empty list."""
- iterable = [1, 2, 3, 4, 5]
- generator = utils.chunks(iterable=iterable, size=2)
- self.assertEqual(list(generator), [[1, 2], [3, 4], [5]])