def when_i_log_out(step): goto_url('/logout')
def and_i_visit_the_url_for_group1(step, doc_name): doc = Document.objects.get(name=doc_name) goto_url(reverse('change_permissions', args=[doc.id]))
def and_i_am_at_the_index_page(step): goto_url("/")