tcms.testplans.forms module

class tcms.testplans.forms.BasePlanForm(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 = {'extra_link': <tcms.core.forms.fields.StripURLField object>, 'name': <django.forms.fields.CharField object>, 'parent': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
clean_parent()[source]
declared_fields = {'extra_link': <tcms.core.forms.fields.StripURLField object>, 'name': <django.forms.fields.CharField object>, 'parent': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
media
populate(product_id)[source]
class tcms.testplans.forms.ClonePlanForm(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.BasePlanForm

base_fields = {'copy_testcases': <django.forms.fields.BooleanField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'keep_case_default_tester': <django.forms.fields.BooleanField object>, 'keep_orignal_author': <django.forms.fields.BooleanField object>, 'link_testcases': <django.forms.fields.BooleanField object>, 'maintain_case_orignal_author': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'parent': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'set_parent': <django.forms.fields.BooleanField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
declared_fields = {'copy_testcases': <django.forms.fields.BooleanField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'keep_case_default_tester': <django.forms.fields.BooleanField object>, 'keep_orignal_author': <django.forms.fields.BooleanField object>, 'link_testcases': <django.forms.fields.BooleanField object>, 'maintain_case_orignal_author': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'parent': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'set_parent': <django.forms.fields.BooleanField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
media
class tcms.testplans.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.BasePlanForm

base_fields = {'auto_to_case_default_tester': <django.forms.fields.BooleanField object>, 'auto_to_case_owner': <django.forms.fields.BooleanField object>, 'auto_to_plan_author': <django.forms.fields.BooleanField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'notify_on_case_update': <django.forms.fields.BooleanField object>, 'notify_on_plan_update': <django.forms.fields.BooleanField object>, 'parent': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
declared_fields = {'auto_to_case_default_tester': <django.forms.fields.BooleanField object>, 'auto_to_case_owner': <django.forms.fields.BooleanField object>, 'auto_to_plan_author': <django.forms.fields.BooleanField object>, 'extra_link': <tcms.core.forms.fields.StripURLField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'notify_on_case_update': <django.forms.fields.BooleanField object>, 'notify_on_plan_update': <django.forms.fields.BooleanField object>, 'parent': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
media
class tcms.testplans.forms.SearchPlanForm(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 = {'author__email__startswith': <django.forms.fields.CharField object>, 'author__username__startswith': <django.forms.fields.CharField object>, 'case__default_tester__username__startswith': <django.forms.fields.CharField object>, 'create_date__gte': <django.forms.fields.DateTimeField object>, 'create_date__lte': <django.forms.fields.DateTimeField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name__icontains': <django.forms.fields.CharField object>, 'parent__pk': <django.forms.fields.IntegerField object>, 'pk': <django.forms.fields.IntegerField object>, 'pk__in': <django.forms.fields.CharField object>, 'plan_id': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'search': <django.forms.fields.CharField object>, 'tag__name__in': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>, 'version': <django.forms.models.ModelChoiceField object>}
clean_pk__in()[source]
clean_tag__name__in()[source]
declared_fields = {'author__email__startswith': <django.forms.fields.CharField object>, 'author__username__startswith': <django.forms.fields.CharField object>, 'case__default_tester__username__startswith': <django.forms.fields.CharField object>, 'create_date__gte': <django.forms.fields.DateTimeField object>, 'create_date__lte': <django.forms.fields.DateTimeField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name__icontains': <django.forms.fields.CharField object>, 'parent__pk': <django.forms.fields.IntegerField object>, 'pk': <django.forms.fields.IntegerField object>, 'pk__in': <django.forms.fields.CharField object>, 'plan_id': <django.forms.fields.IntegerField object>, 'product': <django.forms.models.ModelChoiceField object>, 'search': <django.forms.fields.CharField object>, 'tag__name__in': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>, 'version': <django.forms.models.ModelChoiceField object>}
media
populate(product_id=None)[source]