def test_listing_handlers_filled_during_migration(self):
     migrate_legacy_comments()
     lh = Listing.objects.get_queryset_wrapper(self.category_nested, source=comments_settings.MOST_COMMENTED_LH)
     tools.assert_equals(1, lh.count())
    def test_comments_successfully_migrated(self):
        migrate_legacy_comments()

        tools.assert_equals(10, self.comment_list.count())
        c = self.comment_list.last_comment()
        tools.assert_equals('9th', c.comment)
    def test_comments_successfully_migrated(self):
        migrate_legacy_comments()

        tools.assert_equals(10, self.comment_list.count())
        c = self.comment_list.last_comment()
        tools.assert_equals("9th", c.comment)