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 0x7fdf99d47ef0>, 'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d47f60>, 'case_run_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d511d0>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7fdf99d51320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d51390>, 'sortkey': <django.forms.fields.IntegerField object at 0x7fdf99d51438>}
declared_fields = {'assignee': <tcms.core.forms.fields.UserField object at 0x7fdf99d47ef0>, 'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d47f60>, 'case_run_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d511d0>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7fdf99d51320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d51390>, 'sortkey': <django.forms.fields.IntegerField object at 0x7fdf99d51438>}
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 0x7fdf99d9ceb8>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <tcms.core.forms.fields.UserField object at 0x7fdf99d9cd68>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d9cbe0>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d9ceb8>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <tcms.core.forms.fields.UserField object at 0x7fdf99d9cd68>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d9cbe0>}
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 0x7fdf99d9ceb8>, 'case': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf99d7cc18>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <tcms.core.forms.fields.UserField object at 0x7fdf99d9cd68>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d9cbe0>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d9ceb8>, 'case': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf99d7cc18>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <tcms.core.forms.fields.UserField object at 0x7fdf99d9cd68>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d9cbe0>}
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 0x7fdf99d47b38>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d47cc0>, 'plan': <django.forms.fields.CharField object at 0x7fdf99d47828>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d47978>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d478d0>, 'tag__name__in': <django.forms.fields.CharField object at 0x7fdf99d47dd8>}
clean_tag__name__in()[source]
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d47b38>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d47cc0>, 'plan': <django.forms.fields.CharField object at 0x7fdf99d47828>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d47978>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d478d0>, 'tag__name__in': <django.forms.fields.CharField object at 0x7fdf99d47dd8>}
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 0x7fdf99d51550>, 'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d47f60>, 'case': <django.forms.models.ModelChoiceField object at 0x7fdf99d51898>, 'case_run_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d511d0>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7fdf99d51320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d51390>, 'run': <django.forms.models.ModelChoiceField object at 0x7fdf99d51748>, 'sortkey': <django.forms.fields.IntegerField object at 0x7fdf99d51438>}
clean_assignee()[source]
clean_case_run_status()[source]
clean_case_text_version()[source]
declared_fields = {'assignee': <django.forms.models.ModelChoiceField object at 0x7fdf99d51550>, 'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d47f60>, 'case': <django.forms.models.ModelChoiceField object at 0x7fdf99d51898>, 'case_run_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d511d0>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7fdf99d51320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d51390>, 'run': <django.forms.models.ModelChoiceField object at 0x7fdf99d51748>, 'sortkey': <django.forms.fields.IntegerField object at 0x7fdf99d51438>}
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 0x7fdf99d9ceb8>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <tcms.core.forms.fields.UserField object at 0x7fdf99d9cd68>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'plan': <django.forms.models.ModelChoiceField object at 0x7fdf99d7cb70>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d9cbe0>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d9ceb8>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <tcms.core.forms.fields.UserField object at 0x7fdf99d9cd68>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'plan': <django.forms.models.ModelChoiceField object at 0x7fdf99d7cb70>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d9cbe0>}
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 0x7fdf99d519e8>, 'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d51b38>, 'case_run_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d511d0>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7fdf99d51320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d51390>, 'sortkey': <django.forms.fields.IntegerField object at 0x7fdf99d51438>}
declared_fields = {'assignee': <django.forms.models.ModelChoiceField object at 0x7fdf99d519e8>, 'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d51b38>, 'case_run_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d511d0>, 'case_text_version': <django.forms.fields.IntegerField object at 0x7fdf99d51320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d51390>, 'sortkey': <django.forms.fields.IntegerField object at 0x7fdf99d51438>}
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 0x7fdf99d476d8>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <django.forms.models.ModelChoiceField object at 0x7fdf99d472b0>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'plan': <django.forms.models.ModelChoiceField object at 0x7fdf99d470b8>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d47400>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d47240>, 'stop_date': <django.forms.fields.DateTimeField object at 0x7fdf99d47550>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d7ccc0>}
clean_status()[source]
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf99d476d8>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99d9ce10>, 'manager': <django.forms.models.ModelChoiceField object at 0x7fdf99d472b0>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d9cfd0>, 'plan': <django.forms.models.ModelChoiceField object at 0x7fdf99d470b8>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d47400>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d47240>, 'stop_date': <django.forms.fields.DateTimeField object at 0x7fdf99d47550>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d7ccc0>}
media