tcms.report.forms module

class tcms.report.forms.BasicTestingReportFormFields(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

Testing report form with basic necessary fields

base_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf982e7cc0>, 'created_before': <django.forms.fields.DateField object at 0x7fdf982c24e0>, 'created_since': <django.forms.fields.DateField object at 0x7fdf986499b0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf985b00f0>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf9872f470>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf982e7cc0>, 'created_before': <django.forms.fields.DateField object at 0x7fdf982c24e0>, 'created_since': <django.forms.fields.DateField object at 0x7fdf986499b0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf985b00f0>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf9872f470>}
media
populate(product_id)[source]
class tcms.report.forms.CustomSearchDetailsForm(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.report.forms.CustomSearchForm

base_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf982e7fd0>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7fdf982bb048>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf982bb2b0>, 'component': <django.forms.models.ModelChoiceField object at 0x7fdf982bb0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf982bb6d8>, 'version': <django.forms.models.ModelChoiceField object at 0x7fdf9816a470>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7fdf982e7fd0>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7fdf982bb048>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf982bb2b0>, 'component': <django.forms.models.ModelChoiceField object at 0x7fdf982bb0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf982bb6d8>, 'version': <django.forms.models.ModelChoiceField object at 0x7fdf9816a470>}
media
class tcms.report.forms.CustomSearchForm(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 = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf986ff978>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7fdf982bb048>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf982bb2b0>, 'component': <django.forms.models.ModelChoiceField object at 0x7fdf982bb0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf982bb6d8>, 'version': <django.forms.models.ModelChoiceField object at 0x7fdf9816a470>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf986ff978>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7fdf982bb048>, 'category': <django.forms.models.ModelChoiceField object at 0x7fdf982bb2b0>, 'component': <django.forms.models.ModelChoiceField object at 0x7fdf982bb0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf982bb6d8>, 'version': <django.forms.models.ModelChoiceField object at 0x7fdf9816a470>}
media
populate(product_id)[source]
class tcms.report.forms.TestingReportCaseRunsListForm(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.report.forms.BasicTestingReportFormFields

Form validation for viewing case runs from tesing report

base_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf982e7cc0>, 'created_before': <django.forms.fields.DateField object at 0x7fdf982c24e0>, 'created_since': <django.forms.fields.DateField object at 0x7fdf986499b0>, 'plan_tag': <django.forms.fields.CharField object at 0x7fdf982c29b0>, 'priority': <django.forms.fields.IntegerField object at 0x7fdf982c2630>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf985b00f0>, 'run': <django.forms.fields.IntegerField object at 0x7fdf97f21518>, 'status': <django.forms.fields.CharField object at 0x7fdf982c2898>, 'tester': <django.forms.fields.IntegerField object at 0x7fdf982c27f0>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf9872f470>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf982e7cc0>, 'created_before': <django.forms.fields.DateField object at 0x7fdf982c24e0>, 'created_since': <django.forms.fields.DateField object at 0x7fdf986499b0>, 'plan_tag': <django.forms.fields.CharField object at 0x7fdf982c29b0>, 'priority': <django.forms.fields.IntegerField object at 0x7fdf982c2630>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf985b00f0>, 'run': <django.forms.fields.IntegerField object at 0x7fdf97f21518>, 'status': <django.forms.fields.CharField object at 0x7fdf982c2898>, 'tester': <django.forms.fields.IntegerField object at 0x7fdf982c27f0>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf9872f470>}
media
class tcms.report.forms.TestingReportForm(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.report.forms.BasicTestingReportFormFields

Criteria for generating testing report

base_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf982e7cc0>, 'created_before': <django.forms.fields.DateField object at 0x7fdf982c24e0>, 'created_since': <django.forms.fields.DateField object at 0x7fdf986499b0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf985b00f0>, 'report_type': <django.forms.fields.ChoiceField object at 0x7fdf9872fda0>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf9872f470>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf982e7cc0>, 'created_before': <django.forms.fields.DateField object at 0x7fdf982c24e0>, 'created_since': <django.forms.fields.DateField object at 0x7fdf986499b0>, 'product': <django.forms.models.ModelChoiceField object at 0x7fdf985b00f0>, 'report_type': <django.forms.fields.ChoiceField object at 0x7fdf9872fda0>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7fdf9872f470>}
media