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'])
def test_subscription_user_union(self): result = utils.subscriptions_users_union(self.emails_1, self.emails_2) assert_equal(self.union_1_2, result)