From 404cf75bdc20e7e918333cc3e4e8ed7fdffb5cf4 Mon Sep 17 00:00:00 2001 From: Ruslan Shestopalyuk Date: Tue, 31 Oct 2017 19:26:49 +0100 Subject: [PATCH] Fix ASM unit test (also use setter in constructor) --- sendgrid/helpers/mail/asm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendgrid/helpers/mail/asm.py b/sendgrid/helpers/mail/asm.py index 59e49eee5..333f3e98c 100644 --- a/sendgrid/helpers/mail/asm.py +++ b/sendgrid/helpers/mail/asm.py @@ -13,10 +13,10 @@ def __init__(self, group_id=None, groups_to_display=None): self._groups_to_display = None if group_id is not None: - self._group_id = group_id + self.group_id = group_id if groups_to_display is not None: - self._groups_to_display = groups_to_display + self.groups_to_display = groups_to_display @property def group_id(self):