Example #1
0
class CaseNotifyForm(forms.Form):
    author = forms.BooleanField(required=False, initial=True)
    default_tester_of_case = forms.BooleanField(required=False, initial=True)
    managers_of_runs = forms.BooleanField(required=False, initial=True)
    default_testers_of_runs = forms.BooleanField(required=False, initial=True)
    assignees_of_case_runs = forms.BooleanField(required=False, initial=True)
    notify_on_case_update = forms.BooleanField(required=False, initial=True)
    notify_on_case_delete = forms.BooleanField(required=False, initial=True)

    cc_list = MultipleEmailField(required=False)
Example #2
0
class CaseNotifyForm(forms.Form):
    author = forms.BooleanField(required=False)
    default_tester_of_case = forms.BooleanField(required=False)
    managers_of_runs = forms.BooleanField(required=False)
    default_testers_of_runs = forms.BooleanField(required=False)
    assignees_of_case_runs = forms.BooleanField(required=False)
    notify_on_case_update = forms.BooleanField(required=False)
    notify_on_case_delete = forms.BooleanField(required=False)

    cc_list = MultipleEmailField(
        required=False,
        label=u'CC to',
        help_text=u"""It will send notification email to each Email address
            within CC list. Email addresses within CC list are
            separated by comma.""",
        widget=forms.Textarea(attrs={'rows': 1, }))
Example #3
0
 def setUpClass(cls):
     super().setUpClass()
     cls.field = MultipleEmailField()
Example #4
0
class CaseNotifyForm(forms.ModelForm):
    class Meta:
        model = TestCaseEmailSettings
        fields = "__all__"

    cc_list = MultipleEmailField(required=False)
Example #5
0
 def setUpClass(cls):
     super(TestMultipleEmailField, cls).setUpClass()
     cls.default_delimiter = ','
     cls.field = MultipleEmailField(delimiter=cls.default_delimiter)