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 at 0x7ff966c3c978>, 'build': <django.forms.models.ModelChoiceField object at 0x7ff966c3c9e8>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7ff966c3cd68>, 'sortkey': <django.forms.fields.IntegerField object at 0x7ff966c3cdd8>, 'status': <django.forms.models.ModelChoiceField object at 0x7ff966c3cc18>}
declared_fields = {'assignee': <tcms.core.forms.fields.UserField object at 0x7ff966c3c978>, 'build': <django.forms.models.ModelChoiceField object at 0x7ff966c3c9e8>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7ff966c3cd68>, 'sortkey': <django.forms.fields.IntegerField object at 0x7ff966c3cdd8>, 'status': <django.forms.models.ModelChoiceField object at 0x7ff966c3cc18>}
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 at 0x7ff966cf1208>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <tcms.core.forms.fields.UserField object at 0x7ff966cf1080>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'summary': <django.forms.fields.CharField object at 0x7ff966ce2e80>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7ff966cf1208>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <tcms.core.forms.fields.UserField object at 0x7ff966cf1080>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'summary': <django.forms.fields.CharField object at 0x7ff966ce2e80>}
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 at 0x7ff966cf1208>, 'case': <django.forms.models.ModelMultipleChoiceField object at 0x7ff966cf15c0>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <tcms.core.forms.fields.UserField object at 0x7ff966cf1080>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'summary': <django.forms.fields.CharField object at 0x7ff966ce2e80>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7ff966cf1208>, 'case': <django.forms.models.ModelMultipleChoiceField object at 0x7ff966cf15c0>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <tcms.core.forms.fields.UserField object at 0x7ff966cf1080>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'summary': <django.forms.fields.CharField object at 0x7ff966ce2e80>}
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 at 0x7ff966c3c5c0>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966c3c748>, 'plan': <django.forms.fields.CharField object at 0x7ff966c3c2b0>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff966c3c400>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7ff966c3c358>, 'tag__name__in': <django.forms.fields.CharField object at 0x7ff966c3c860>}
clean_tag__name__in()[source]
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7ff966c3c5c0>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966c3c748>, 'plan': <django.forms.fields.CharField object at 0x7ff966c3c2b0>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff966c3c400>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7ff966c3c358>, 'tag__name__in': <django.forms.fields.CharField object at 0x7ff966c3c860>}
media
populate(product_id=None)[source]
class tcms.testruns.forms.XMLRPCNewCaseRunForm(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 at 0x7ff966c3cef0>, 'build': <django.forms.models.ModelChoiceField object at 0x7ff966c3c9e8>, 'case': <django.forms.models.ModelChoiceField object at 0x7ff966c47278>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7ff966c3cd68>, 'run': <django.forms.models.ModelChoiceField object at 0x7ff966c47128>, 'sortkey': <django.forms.fields.IntegerField object at 0x7ff966c3cdd8>, 'status': <django.forms.models.ModelChoiceField object at 0x7ff966c3cc18>}
clean_assignee()[source]
clean_case_text_version()[source]
clean_status()[source]
declared_fields = {'assignee': <django.forms.models.ModelChoiceField object at 0x7ff966c3cef0>, 'build': <django.forms.models.ModelChoiceField object at 0x7ff966c3c9e8>, 'case': <django.forms.models.ModelChoiceField object at 0x7ff966c47278>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7ff966c3cd68>, 'run': <django.forms.models.ModelChoiceField object at 0x7ff966c47128>, 'sortkey': <django.forms.fields.IntegerField object at 0x7ff966c3cdd8>, 'status': <django.forms.models.ModelChoiceField object at 0x7ff966c3cc18>}
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 at 0x7ff966cf1208>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <tcms.core.forms.fields.UserField object at 0x7ff966cf1080>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'plan': <django.forms.models.ModelChoiceField object at 0x7ff966cf1518>, 'summary': <django.forms.fields.CharField object at 0x7ff966ce2e80>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7ff966cf1208>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <tcms.core.forms.fields.UserField object at 0x7ff966cf1080>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'plan': <django.forms.models.ModelChoiceField object at 0x7ff966cf1518>, 'summary': <django.forms.fields.CharField object at 0x7ff966ce2e80>}
media
class tcms.testruns.forms.XMLRPCUpdateCaseRunForm(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 at 0x7ff966c473c8>, 'build': <django.forms.models.ModelChoiceField object at 0x7ff966c47518>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7ff966c3cd68>, 'sortkey': <django.forms.fields.IntegerField object at 0x7ff966c3cdd8>, 'status': <django.forms.models.ModelChoiceField object at 0x7ff966c3cc18>}
declared_fields = {'assignee': <django.forms.models.ModelChoiceField object at 0x7ff966c473c8>, 'build': <django.forms.models.ModelChoiceField object at 0x7ff966c47518>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7ff966c3cd68>, 'sortkey': <django.forms.fields.IntegerField object at 0x7ff966c3cdd8>, 'status': <django.forms.models.ModelChoiceField object at 0x7ff966c3cc18>}
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 at 0x7ff966c3c160>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <django.forms.models.ModelChoiceField object at 0x7ff966cf1cf8>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'plan': <django.forms.models.ModelChoiceField object at 0x7ff966cf1b00>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff966cf1e48>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7ff966cf1c88>, 'stop_date': <django.forms.fields.DateTimeField object at 0x7ff966cf1fd0>, 'summary': <django.forms.fields.CharField object at 0x7ff966cf1668>}
clean_status()[source]
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7ff966c3c160>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7ff966cf1128>, 'manager': <django.forms.models.ModelChoiceField object at 0x7ff966cf1cf8>, 'notes': <django.forms.fields.CharField object at 0x7ff966cf1390>, 'plan': <django.forms.models.ModelChoiceField object at 0x7ff966cf1b00>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff966cf1e48>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7ff966cf1c88>, 'stop_date': <django.forms.fields.DateTimeField object at 0x7ff966cf1fd0>, 'summary': <django.forms.fields.CharField object at 0x7ff966cf1668>}
media