tcms.testruns.forms module

class tcms.testruns.forms.BaseCaseRunForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.forms.Form

base_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>}
declared_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>}
media
class tcms.testruns.forms.BaseRunForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.forms.Form

base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'summary': <django.forms.fields.CharField object>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'summary': <django.forms.fields.CharField object>}
media
populate(product_id)[source]
class tcms.testruns.forms.NewRunForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: tcms.testruns.forms.BaseRunForm

base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'case': <django.forms.models.ModelMultipleChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'summary': <django.forms.fields.CharField object>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object>, 'case': <django.forms.models.ModelMultipleChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'summary': <django.forms.fields.CharField object>}
media
class tcms.testruns.forms.SearchRunForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.forms.Form

Includes only fields used in search.html b/c the actual search is now done via JSON RPC.

base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'plan': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'tag__name__in': <django.forms.fields.CharField object>}
clean_tag__name__in()[source]
declared_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'plan': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'tag__name__in': <django.forms.fields.CharField object>}
media
populate(product_id=None)[source]
class tcms.testruns.forms.XMLRPCNewExecutionForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: tcms.testruns.forms.BaseCaseRunForm

base_fields = {'assignee': <django.forms.models.ModelChoiceField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'run': <django.forms.models.ModelChoiceField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>}
clean_assignee()[source]
clean_case_text_version()[source]
clean_status()[source]
declared_fields = {'assignee': <django.forms.models.ModelChoiceField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'run': <django.forms.models.ModelChoiceField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>}
media
class tcms.testruns.forms.XMLRPCNewRunForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: tcms.testruns.forms.BaseRunForm

assign_plan(plan_id)[source]
base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'plan': <django.forms.models.ModelChoiceField object>, 'summary': <django.forms.fields.CharField object>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'plan': <django.forms.models.ModelChoiceField object>, 'summary': <django.forms.fields.CharField object>}
media
class tcms.testruns.forms.XMLRPCUpdateExecutionForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: tcms.testruns.forms.BaseCaseRunForm

base_fields = {'assignee': <django.forms.models.ModelChoiceField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>}
declared_fields = {'assignee': <django.forms.models.ModelChoiceField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>}
media
class tcms.testruns.forms.XMLRPCUpdateRunForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: tcms.testruns.forms.XMLRPCNewRunForm

base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <django.forms.models.ModelChoiceField object>, 'notes': <django.forms.fields.CharField object>, 'plan': <django.forms.models.ModelChoiceField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'stop_date': <django.forms.fields.DateTimeField object>, 'summary': <django.forms.fields.CharField object>}
clean_status()[source]
declared_fields = {'build': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <django.forms.models.ModelChoiceField object>, 'notes': <django.forms.fields.CharField object>, 'plan': <django.forms.models.ModelChoiceField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'stop_date': <django.forms.fields.DateTimeField object>, 'summary': <django.forms.fields.CharField object>}
media