Skip to content

Instantly share code, notes, and snippets.

View JirkaChadima's full-sized avatar

Jiří Chadima JirkaChadima

View GitHub Profile
@JirkaChadima
JirkaChadima / gist:2925237
Created June 13, 2012 16:54
Test for discovering an infinite loop (https://github.com/ella/ella/issues/101)
class TestNestedListing(TestCase):
def setUp(self):
super(TestNestedListing, self).setUp()
create_basic_categories(self)
create_and_place_a_publishable(self)
create_and_place_more_publishables(self)
list_all_publishables_in_category_by_hour(self, category=self.category_nested_second)
list_all_publishables_in_category_by_hour(self, category=self.category_nested)
def test_get_listing_with_all_children_in_nested_category(self):