tcms.rpc.api.forms.testcase module

class tcms.rpc.api.forms.testcase.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: django.forms.models.ModelForm

class Meta[source]

Bases: object

exclude = ('reviewer', 'tag', 'component', 'plan')
model

alias of tcms.testcases.models.TestCase

base_fields = {'arguments': <django.forms.fields.CharField object>, 'author': <django.forms.models.ModelChoiceField object>, 'case_status': <django.forms.models.ModelChoiceField object>, 'category': <django.forms.models.ModelChoiceField object>, 'default_tester': <django.forms.models.ModelChoiceField object>, 'extra_link': <django.forms.fields.CharField object>, 'is_automated': <django.forms.fields.BooleanField object>, 'notes': <django.forms.fields.CharField object>, 'priority': <django.forms.models.ModelChoiceField object>, 'requirement': <django.forms.fields.CharField object>, 'script': <django.forms.fields.CharField object>, 'summary': <django.forms.fields.CharField object>, 'text': <django.forms.fields.CharField object>}
declared_fields = {}
media
class tcms.rpc.api.forms.testcase.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', 'component', 'plan')
model

alias of tcms.testcases.models.TestCase

base_fields = {'arguments': <django.forms.fields.CharField object>, 'author': <tcms.core.forms.fields.UserField object>, 'case_status': <django.forms.models.ModelChoiceField object>, 'category': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'extra_link': <django.forms.fields.CharField object>, 'is_automated': <django.forms.fields.BooleanField object>, 'notes': <django.forms.fields.CharField object>, 'priority': <django.forms.models.ModelChoiceField object>, 'requirement': <django.forms.fields.CharField object>, 'reviewer': <tcms.core.forms.fields.UserField object>, 'script': <django.forms.fields.CharField object>, 'summary': <django.forms.fields.CharField object>, 'text': <django.forms.fields.CharField object>}
declared_fields = {'author': <tcms.core.forms.fields.UserField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'reviewer': <tcms.core.forms.fields.UserField object>}
media