tcms.testruns.forms module

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, instance=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.models.ModelForm

class Meta[source]

Bases: object

fields = ['notes', 'default_tester', 'build', 'manager', 'summary']
model

alias of tcms.testruns.models.TestRun

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 = {'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>}
media
populate(product_id)[source]
class tcms.testruns.forms.BaseTestExecutionForm(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.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, instance=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 = {'case': <django.forms.models.ModelMultipleChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField 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]