def get_contactfolder_url(self): return get_contactfolder_url()
def get_url(self, view='view'): return '{}/{}/{}'.format( get_contactfolder_url(), self.wrapper_id, view)
def contactfolder_url(team_id): return get_contactfolder_url()
def nextURL(self): return get_contactfolder_url()
def test_returns_url_of_the_contactfolder(self): contactfolder = create(Builder('contactfolder')) self.assertEquals(contactfolder.absolute_url(), get_contactfolder_url())
def absolute_url(self): return '{}/team-{}/view'.format( get_contactfolder_url(), self.model.team_id)
def linked_title_helper(item, value): """Helper for linking the value with the team details view. """ url = '{}/team-{}/view'.format(get_contactfolder_url(), item.team_id) return u'<a href="{}">{}</a>'.format(url, value)
def get_profile_url(self): return '{}/team-{}/view'.format(get_contactfolder_url(), self.team.team_id)
def test_raises_exception_when_no_contactfolder_exists(self): with self.assertRaises(Exception): get_contactfolder_url()
def get_profile_url(self): return '{}/team-{}/view'.format( get_contactfolder_url(), self.team.team_id)
def get_profile_url(self): return '{}/team-{}/view'.format( get_contactfolder_url(unrestricted=True), self.team.team_id)
def absolute_url(self): return '{}/team-{}/view'.format(get_contactfolder_url(), self.model.team_id)