diff options
| author | 2020-08-31 19:56:24 -0700 | |
|---|---|---|
| committer | 2020-08-31 19:56:24 -0700 | |
| commit | b7644aa822def549e2591b53c69af3cf44355ac9 (patch) | |
| tree | 62d58b3dbdc48b14e254a50704dae93bf1425876 | |
| parent | Removed image pagination utility. (diff) | |
Removed ImagePaginator testing.
| -rw-r--r-- | tests/bot/test_pagination.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/bot/test_pagination.py b/tests/bot/test_pagination.py index ce880d457..630f2516d 100644 --- a/tests/bot/test_pagination.py +++ b/tests/bot/test_pagination.py @@ -44,18 +44,3 @@ class LinePaginatorTests(TestCase): self.paginator.add_line('x' * (self.paginator.scale_to_size + 1)) # Note: item at index 1 is the truncated line, index 0 is prefix self.assertEqual(self.paginator._current_page[1], 'x' * self.paginator.scale_to_size) - - -class ImagePaginatorTests(TestCase): - """Tests functionality of the `ImagePaginator`.""" - - def setUp(self): - """Create a paginator for the test method.""" - self.paginator = pagination.ImagePaginator() - - def test_add_image_appends_image(self): - """`add_image` appends the image to the image list.""" - image = 'lemon' - self.paginator.add_image(image) - - assert self.paginator.images == [image] |