def test_page_zero_should_raise_exception(self, render_template): with self.assertRaises(PageOutOfRange): controller.show_builds_history(page=0)
def test_page_very_out_of_range_should_raise_exception(self, renderer): with self.assertRaises(PageOutOfRange): controller.show_builds_history(page=2346122865)
def test_page_negative_should_raise_exception(self, *args): with self.assertRaises(PageOutOfRange): controller.show_builds_history(page=-1)
def test_can_invoke_show_build(self, render_template): controller.show_builds_history(page=1)
def test_can_invoke_show_build(self, *args): controller.show_builds_history(page=1)