def test_11(self): matt = Person.by_title('matt') self.mk_request('/by_frag/%s/my_todo' % matt.frag, '', 'text/plain', '200 OK', str(matt.my_todo)) self.mk_request('/by_frag/%s/my_todo/summarized_view' % matt.frag, '', 'text/plain', '200 OK', str(matt.my_todo.summarized_view)) self.mk_request('/by_frag/%s/my_todo/detailed_view' % matt.frag, '', 'text/plain', '200 OK', str(matt.my_todo.detailed_view))
def test_8(self): self.mk_request('/Person/by_title/matt/my_todo/summarized_view', '', 'text/plain', '200 OK', Person.by_title('matt').my_todo.summarized_view)
def test_7(self): self.mk_request('/Person/by_title/matt/my_todo', '', 'text/plain', '200 OK', Person.by_title('matt').my_todo.detailed_view)