diff --git a/boards/tests/test_post.py b/boards/tests/test_post.py --- a/boards/tests/test_post.py +++ b/boards/tests/test_post.py @@ -90,19 +90,10 @@ class PostTests(TestCase): self.assertIsNotNone(post, 'Post not created') self.assertTrue(tag in thread.tags.all(), 'Tag not added to thread') - def test_thread_max_count(self): - """Test deletion of old posts when the max thread count is reached""" - - for i in range(settings.get_int('Messages', 'MaxThreadCount') + 1): - self._create_post() - - self.assertEqual(settings.get_int('Messages', 'MaxThreadCount'), - len(Thread.objects.exclude(status=STATUS_ARCHIVE))) - def test_pages(self): """Test that the thread list is properly split into pages""" - for i in range(settings.get_int('Messages', 'MaxThreadCount')): + for i in range(settings.get_int('View', 'ThreadsPerPage') * 2): self._create_post() all_threads = Thread.objects.exclude(status=STATUS_ARCHIVE)