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 0x7ff964a8dcc0>, 'created_before': <django.forms.fields.DateField object at 0x7ff9651aacf8>, 'created_since': <django.forms.fields.DateField object at 0x7ff9651aa0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651aa240>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651aa278>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7ff964a8dcc0>, 'created_before': <django.forms.fields.DateField object at 0x7ff9651aacf8>, 'created_since': <django.forms.fields.DateField object at 0x7ff9651aa0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651aa240>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651aa278>}
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 0x7ff964a8d9b0>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7ff9656abd68>, 'category': <django.forms.models.ModelChoiceField object at 0x7ff9649c27b8>, 'component': <django.forms.models.ModelChoiceField object at 0x7ff964b11358>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651afd68>, 'version': <django.forms.models.ModelChoiceField object at 0x7ff9651afdd8>}
declared_fields = {'build': <django.forms.models.ModelChoiceField object at 0x7ff964a8d9b0>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7ff9656abd68>, 'category': <django.forms.models.ModelChoiceField object at 0x7ff9649c27b8>, 'component': <django.forms.models.ModelChoiceField object at 0x7ff964b11358>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651afd68>, 'version': <django.forms.models.ModelChoiceField object at 0x7ff9651afdd8>}
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 0x7ff9651af7f0>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7ff9656abd68>, 'category': <django.forms.models.ModelChoiceField object at 0x7ff9649c27b8>, 'component': <django.forms.models.ModelChoiceField object at 0x7ff964b11358>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651afd68>, 'version': <django.forms.models.ModelChoiceField object at 0x7ff9651afdd8>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651af7f0>, 'build_run__plan__name__icontains': <django.forms.fields.CharField object at 0x7ff9656abd68>, 'category': <django.forms.models.ModelChoiceField object at 0x7ff9649c27b8>, 'component': <django.forms.models.ModelChoiceField object at 0x7ff964b11358>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651afd68>, 'version': <django.forms.models.ModelChoiceField object at 0x7ff9651afdd8>}
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 0x7ff964a8dcc0>, 'created_before': <django.forms.fields.DateField object at 0x7ff9651aacf8>, 'created_since': <django.forms.fields.DateField object at 0x7ff9651aa0f0>, 'plan_tag': <django.forms.fields.CharField object at 0x7ff9651a4080>, 'priority': <django.forms.fields.IntegerField object at 0x7ff9651aadd8>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651aa240>, 'run': <django.forms.fields.IntegerField object at 0x7ff9651aabe0>, 'status': <django.forms.fields.CharField object at 0x7ff9651aaf28>, 'tester': <django.forms.fields.IntegerField object at 0x7ff9651aae80>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651aa278>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7ff964a8dcc0>, 'created_before': <django.forms.fields.DateField object at 0x7ff9651aacf8>, 'created_since': <django.forms.fields.DateField object at 0x7ff9651aa0f0>, 'plan_tag': <django.forms.fields.CharField object at 0x7ff9651a4080>, 'priority': <django.forms.fields.IntegerField object at 0x7ff9651aadd8>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651aa240>, 'run': <django.forms.fields.IntegerField object at 0x7ff9651aabe0>, 'status': <django.forms.fields.CharField object at 0x7ff9651aaf28>, 'tester': <django.forms.fields.IntegerField object at 0x7ff9651aae80>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651aa278>}
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 0x7ff964a8dcc0>, 'created_before': <django.forms.fields.DateField object at 0x7ff9651aacf8>, 'created_since': <django.forms.fields.DateField object at 0x7ff9651aa0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651aa240>, 'report_type': <django.forms.fields.ChoiceField object at 0x7ff9651a4198>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651aa278>}
declared_fields = {'build': <django.forms.models.ModelMultipleChoiceField object at 0x7ff964a8dcc0>, 'created_before': <django.forms.fields.DateField object at 0x7ff9651aacf8>, 'created_since': <django.forms.fields.DateField object at 0x7ff9651aa0f0>, 'product': <django.forms.models.ModelChoiceField object at 0x7ff9651aa240>, 'report_type': <django.forms.fields.ChoiceField object at 0x7ff9651a4198>, 'version': <django.forms.models.ModelMultipleChoiceField object at 0x7ff9651aa278>}
media