示例#1
0
 def test_subscription_user_union(self):
     result = utils.subscriptions_users_union(self.emails_1, self.emails_2)
     assert set(self.union_1_2['email_transactional']) == set(
         result['email_transactional'])
     assert set(self.union_1_2['none']) == set(result['none'])
     assert set(self.union_1_2['email_digest']) == set(
         result['email_digest'])
示例#2
0
 def test_subscription_user_union(self):
     result = utils.subscriptions_users_union(self.emails_1, self.emails_2)
     assert_equal(self.union_1_2, result)
示例#3
0
 def test_subscription_user_union(self):
     result = utils.subscriptions_users_union(self.emails_1, self.emails_2)
     assert_equal(self.union_1_2, result)