tcms.rpc.api.forms.testrun module

class tcms.rpc.api.forms.testrun.NewForm(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

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 = {'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'plan': <django.forms.models.ModelChoiceField object>}
media
class tcms.rpc.api.forms.testrun.NewTestExecutionForm(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 = '__all__'
model

alias of tcms.testruns.models.TestExecution

base_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.IntegerField object>, 'close_date': <django.forms.fields.DateTimeField object>, 'run': <django.forms.models.ModelChoiceField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>, 'tested_by': <tcms.core.forms.fields.UserField object>}
clean_case_text_version()[source]
clean_status()[source]
declared_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'tested_by': <tcms.core.forms.fields.UserField object>}
media
class tcms.rpc.api.forms.testrun.UpdateExecutionForm(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.BaseTestExecutionForm

base_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'build': <django.forms.models.ModelChoiceField object>, 'case_text_version': <django.forms.fields.CharField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>, 'tested_by': <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.CharField object>, 'sortkey': <django.forms.fields.IntegerField object>, 'status': <django.forms.models.ModelChoiceField object>, 'tested_by': <django.forms.models.ModelChoiceField object>}
media
class tcms.rpc.api.forms.testrun.UpdateForm(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.rpc.api.forms.UpdateModelFormMixin, django.forms.models.ModelForm

class Meta[source]

Bases: object

exclude = ('tag', 'cc')
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>, 'plan': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'start_date': <tcms.rpc.api.forms.DateTimeField object>, 'stop_date': <tcms.rpc.api.forms.DateTimeField object>, 'summary': <django.forms.fields.CharField object>}
declared_fields = {'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'start_date': <tcms.rpc.api.forms.DateTimeField object>, 'stop_date': <tcms.rpc.api.forms.DateTimeField object>}
media
populate(product_id)[source]