tcms.xmlrpc.forms module

class tcms.xmlrpc.forms.EditPlanForm(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.testplans.forms.XMLRPCEditPlanForm

base_fields = {'author': <tcms.core.forms.fields.UserField object at 0x7fdf99d395f8>, 'auto_to_case_default_tester': <django.forms.fields.BooleanField object at 0x7fdf99d39438>, 'auto_to_case_owner': <django.forms.fields.BooleanField object at 0x7fdf99d393c8>, 'auto_to_plan_author': <django.forms.fields.BooleanField object at 0x7fdf99d39358>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99d390b8>, 'is_active': <django.forms.fields.BooleanField object at 0x7fdf99d7fcf8>, 'name': <django.forms.fields.CharField object at 0x7fdf99d2f390>, 'notify_on_case_update': <django.forms.fields.BooleanField object at 0x7fdf99d39518>, 'notify_on_plan_update': <django.forms.fields.BooleanField object at 0x7fdf99d394a8>, 'parent': <django.forms.fields.IntegerField object at 0x7fdf99d39240>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d7fa20>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d2f438>, 'tag': <django.forms.fields.CharField object at 0x7fdf99d392b0>, 'text': <django.forms.fields.CharField object at 0x7fdf99d2fb70>, 'type': <django.forms.models.ModelChoiceField object at 0x7fdf99d2f4e0>}
declared_fields = {'author': <tcms.core.forms.fields.UserField object at 0x7fdf99d395f8>, 'auto_to_case_default_tester': <django.forms.fields.BooleanField object at 0x7fdf99d39438>, 'auto_to_case_owner': <django.forms.fields.BooleanField object at 0x7fdf99d393c8>, 'auto_to_plan_author': <django.forms.fields.BooleanField object at 0x7fdf99d39358>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99d390b8>, 'is_active': <django.forms.fields.BooleanField object at 0x7fdf99d7fcf8>, 'name': <django.forms.fields.CharField object at 0x7fdf99d2f390>, 'notify_on_case_update': <django.forms.fields.BooleanField object at 0x7fdf99d39518>, 'notify_on_plan_update': <django.forms.fields.BooleanField object at 0x7fdf99d394a8>, 'parent': <django.forms.fields.IntegerField object at 0x7fdf99d39240>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d7fa20>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d2f438>, 'tag': <django.forms.fields.CharField object at 0x7fdf99d392b0>, 'text': <django.forms.fields.CharField object at 0x7fdf99d2fb70>, 'type': <django.forms.models.ModelChoiceField object at 0x7fdf99d2f4e0>}
media
class tcms.xmlrpc.forms.NewCaseForm(*args, **kwargs)[source]

Bases: tcms.testcases.forms.XMLRPCNewCaseForm

base_fields = {'action': <django.forms.fields.CharField object at 0x7fdf99d05be0>, 'alias': <django.forms.fields.CharField object at 0x7fdf99e37d68>, 'arguments': <django.forms.fields.CharField object at 0x7fdf99e37cc0>, 'breakdown': <django.forms.fields.CharField object at 0x7fdf99d05d30>, 'case_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d050b8>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf99d05208>, 'component': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf99d05780>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99e37908>, 'effect': <django.forms.fields.CharField object at 0x7fdf99d05c88>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99e37e10>, 'is_automated': <django.forms.fields.ChoiceField object at 0x7fdf99d171d0>, 'is_automated_proposed': <django.forms.fields.BooleanField object at 0x7fdf99e22c50>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d059e8>, 'priority': <django.forms.models.ModelChoiceField object at 0x7fdf9ae98208>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d05320>, 'requirement': <django.forms.fields.CharField object at 0x7fdf99e37a20>, 'script': <django.forms.fields.CharField object at 0x7fdf99e37c18>, 'setup': <django.forms.fields.CharField object at 0x7fdf99d05b38>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d3f2b0>}
declared_fields = {'action': <django.forms.fields.CharField object at 0x7fdf99d05be0>, 'alias': <django.forms.fields.CharField object at 0x7fdf99e37d68>, 'arguments': <django.forms.fields.CharField object at 0x7fdf99e37cc0>, 'breakdown': <django.forms.fields.CharField object at 0x7fdf99d05d30>, 'case_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d050b8>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf99d05208>, 'component': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf99d05780>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99e37908>, 'effect': <django.forms.fields.CharField object at 0x7fdf99d05c88>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99e37e10>, 'is_automated': <django.forms.fields.ChoiceField object at 0x7fdf99d171d0>, 'is_automated_proposed': <django.forms.fields.BooleanField object at 0x7fdf99e22c50>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d059e8>, 'priority': <django.forms.models.ModelChoiceField object at 0x7fdf9ae98208>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d05320>, 'requirement': <django.forms.fields.CharField object at 0x7fdf99e37a20>, 'script': <django.forms.fields.CharField object at 0x7fdf99e37c18>, 'setup': <django.forms.fields.CharField object at 0x7fdf99d05b38>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d3f2b0>}
media
class tcms.xmlrpc.forms.NewPlanForm(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.testplans.forms.XMLRPCNewPlanForm

base_fields = {'author': <tcms.core.forms.fields.UserField object at 0x7fdf99d395f8>, 'auto_to_case_default_tester': <django.forms.fields.BooleanField object at 0x7fdf99d39438>, 'auto_to_case_owner': <django.forms.fields.BooleanField object at 0x7fdf99d393c8>, 'auto_to_plan_author': <django.forms.fields.BooleanField object at 0x7fdf99d39358>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99d390b8>, 'is_active': <django.forms.fields.BooleanField object at 0x7fdf99d2fe48>, 'name': <django.forms.fields.CharField object at 0x7fdf99e37860>, 'notify_on_case_update': <django.forms.fields.BooleanField object at 0x7fdf99d39518>, 'notify_on_plan_update': <django.forms.fields.BooleanField object at 0x7fdf99d394a8>, 'parent': <django.forms.fields.IntegerField object at 0x7fdf99d39240>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d2fe10>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d39630>, 'tag': <django.forms.fields.CharField object at 0x7fdf99d392b0>, 'text': <django.forms.fields.CharField object at 0x7fdf99d2f630>, 'type': <django.forms.models.ModelChoiceField object at 0x7fdf99d2fbe0>}
declared_fields = {'author': <tcms.core.forms.fields.UserField object at 0x7fdf99d395f8>, 'auto_to_case_default_tester': <django.forms.fields.BooleanField object at 0x7fdf99d39438>, 'auto_to_case_owner': <django.forms.fields.BooleanField object at 0x7fdf99d393c8>, 'auto_to_plan_author': <django.forms.fields.BooleanField object at 0x7fdf99d39358>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99d390b8>, 'is_active': <django.forms.fields.BooleanField object at 0x7fdf99d2fe48>, 'name': <django.forms.fields.CharField object at 0x7fdf99e37860>, 'notify_on_case_update': <django.forms.fields.BooleanField object at 0x7fdf99d39518>, 'notify_on_plan_update': <django.forms.fields.BooleanField object at 0x7fdf99d394a8>, 'parent': <django.forms.fields.IntegerField object at 0x7fdf99d39240>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d2fe10>, 'product_version': <django.forms.models.ModelChoiceField object at 0x7fdf99d39630>, 'tag': <django.forms.fields.CharField object at 0x7fdf99d392b0>, 'text': <django.forms.fields.CharField object at 0x7fdf99d2f630>, 'type': <django.forms.models.ModelChoiceField object at 0x7fdf99d2fbe0>}
media
class tcms.xmlrpc.forms.UpdateCaseForm(*args, **kwargs)[source]

Bases: tcms.testcases.forms.XMLRPCUpdateCaseForm

base_fields = {'action': <django.forms.fields.CharField object at 0x7fdf99d05be0>, 'alias': <django.forms.fields.CharField object at 0x7fdf99e37d68>, 'arguments': <django.forms.fields.CharField object at 0x7fdf99e37cc0>, 'breakdown': <django.forms.fields.CharField object at 0x7fdf99d05d30>, 'case_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d050b8>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf99d17358>, 'component': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf99d05780>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99e37908>, 'effect': <django.forms.fields.CharField object at 0x7fdf99d05c88>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99e37e10>, 'is_automated': <django.forms.fields.ChoiceField object at 0x7fdf99d171d0>, 'is_automated_proposed': <django.forms.fields.BooleanField object at 0x7fdf99d3f320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d059e8>, 'priority': <django.forms.models.ModelChoiceField object at 0x7fdf99d17400>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d17588>, 'requirement': <django.forms.fields.CharField object at 0x7fdf99e37a20>, 'script': <django.forms.fields.CharField object at 0x7fdf99e37c18>, 'setup': <django.forms.fields.CharField object at 0x7fdf99d05b38>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d172b0>}
declared_fields = {'action': <django.forms.fields.CharField object at 0x7fdf99d05be0>, 'alias': <django.forms.fields.CharField object at 0x7fdf99e37d68>, 'arguments': <django.forms.fields.CharField object at 0x7fdf99e37cc0>, 'breakdown': <django.forms.fields.CharField object at 0x7fdf99d05d30>, 'case_status': <django.forms.models.ModelChoiceField object at 0x7fdf99d050b8>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf99d17358>, 'component': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf99d05780>, 'default_tester': <tcms.core.forms.fields.UserField object at 0x7fdf99e37908>, 'effect': <django.forms.fields.CharField object at 0x7fdf99d05c88>, 'extra_link': <tcms.core.forms.fields.StripURLField object at 0x7fdf99e37e10>, 'is_automated': <django.forms.fields.ChoiceField object at 0x7fdf99d171d0>, 'is_automated_proposed': <django.forms.fields.BooleanField object at 0x7fdf99d3f320>, 'notes': <django.forms.fields.CharField object at 0x7fdf99d059e8>, 'priority': <django.forms.models.ModelChoiceField object at 0x7fdf99d17400>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf99d17588>, 'requirement': <django.forms.fields.CharField object at 0x7fdf99e37a20>, 'script': <django.forms.fields.CharField object at 0x7fdf99e37c18>, 'setup': <django.forms.fields.CharField object at 0x7fdf99d05b38>, 'summary': <django.forms.fields.CharField object at 0x7fdf99d172b0>}
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.