diff options
| author | 2020-02-27 08:18:58 -0800 | |
|---|---|---|
| committer | 2020-02-27 08:18:58 -0800 | |
| commit | b2c717ecdc47bb49d5f1b8ea6370611eb7cbeb31 (patch) | |
| tree | 19e23c93f3cd24cd285dcf781ed858410db9b98d /tests | |
| parent | Merge pull request #790 from ks129/master (diff) | |
| parent | Merge 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.py | 15 |
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]]) |