tcms.xmlrpc.forms module

class tcms.xmlrpc.forms.NewCaseForm(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.testcases.forms.XMLRPCNewCaseForm

base_fields = {'arguments': <django.forms.fields.CharField object>, 'case_status': <django.forms.models.ModelChoiceField object>, 'category': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'is_automated': <django.forms.fields.BooleanField object>, 'notes': <django.forms.fields.CharField object>, 'priority': <django.forms.models.ModelChoiceField object>, 'product': <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 = {'arguments': <django.forms.fields.CharField object>, 'case_status': <django.forms.models.ModelChoiceField object>, 'category': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'is_automated': <django.forms.fields.BooleanField object>, 'notes': <django.forms.fields.CharField object>, 'priority': <django.forms.models.ModelChoiceField object>, 'product': <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>}
media
class tcms.xmlrpc.forms.UpdateCaseForm(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.testcases.forms.XMLRPCUpdateCaseForm

base_fields = {'arguments': <django.forms.fields.CharField object>, 'case_status': <django.forms.models.ModelChoiceField object>, 'category': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'is_automated': <django.forms.fields.BooleanField object>, 'notes': <django.forms.fields.CharField object>, 'priority': <django.forms.models.ModelChoiceField object>, 'product': <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 = {'arguments': <django.forms.fields.CharField object>, 'case_status': <django.forms.models.ModelChoiceField object>, 'category': <django.forms.models.ModelChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'is_automated': <django.forms.fields.BooleanField object>, 'notes': <django.forms.fields.CharField object>, 'priority': <django.forms.models.ModelChoiceField object>, 'product': <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>}
media
class tcms.xmlrpc.forms.XMLRPCCheckboxInput(attrs=None, check_test=None)[source]

Bases: django.forms.widgets.CheckboxInput

media
value_from_datadict(data, files, name)[source]

Given a dictionary of data and this widget’s name, return the value of this widget or None if it’s not provided.