|
|
__init__(self,
url)
Create a :class:`FunctionalTester` for the given Trac URL and... |
source code
|
|
|
|
login(self,
username)
Login as the given user |
source code
|
|
|
|
|
|
|
|
|
|
quickjump(self,
search)
Do a quick search to jump to a page. |
source code
|
|
|
|
|
|
|
go_to_front(self)
Go to the Trac front page |
source code
|
|
|
|
go_to_ticket(self,
ticketid=None)
Surf to the page for the given ticket ID, or to the NewTicket page
if ticketid is not specified or is None. |
source code
|
|
|
|
|
|
|
go_to_timeline(self)
Surf to the timeline page. |
source code
|
|
|
|
|
|
|
go_to_query(self)
Surf to the custom query page. |
source code
|
|
|
|
|
|
|
go_to_roadmap(self)
Surf to the roadmap page. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
add_comment(self,
ticketid,
comment=None)
Adds a comment to the given ticket ID, assumes ticket exists. |
source code
|
|
|
|
attach_file_to_ticket(self,
ticketid,
data=None,
filename=None,
description=None,
replace=False,
content_type=None)
Attaches a file to the given ticket id, with random data if none is
provided. |
source code
|
|
|
|
clone_ticket(self,
ticketid)
Create a clone of the given ticket id using the clone button. |
source code
|
|
|
|
create_wiki_page(self,
name=None,
content=None,
comment=None)
Creates a wiki page, with a random unique CamelCase name if none
is provided, random content if none is provided and a random comment
if none is provided. |
source code
|
|
|
|
edit_wiki_page(self,
name,
content=None,
comment=None)
Edits a wiki page, with random content is none is provided. |
source code
|
|
|
|
attach_file_to_wiki(self,
name,
data=None,
filename=None,
description=None,
replace=False,
content_type=None)
Attaches a file to the given wiki page, with random content if none
is provided. |
source code
|
|
|
|
|
|
|
attach_file_to_milestone(self,
name,
data=None,
filename=None,
description=None,
replace=False,
content_type=None)
Attaches a file to the given milestone, with random content if none
is provided. |
source code
|
|
|
|
create_component(self,
name=None,
owner=None,
description=None)
Creates the specified component, with a random camel-cased name if
none is provided. |
source code
|
|
|
|
create_enum(self,
kind,
name=None)
Helper to create the specified enum (used for priority,
severity, etc). |
source code
|
|
|
|
create_priority(self,
name=None)
Create a new priority enum |
source code
|
|
|
|
create_resolution(self,
name=None)
Create a new resolution enum |
source code
|
|
|
|
create_severity(self,
name=None)
Create a new severity enum |
source code
|
|
|
|
create_type(self,
name=None)
Create a new ticket type enum |
source code
|
|
|
|
|
|
|
create_report(self,
title,
query,
description)
Create a new report with the given title, query, and description |
source code
|
|
|
|
ticket_set_milestone(self,
ticketid,
milestone)
Set the milestone on a given ticket. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|