Searched refs:add_subscription (Results 1 – 2 of 2) sorted by relevance
39 package.add_subscription = Mock()43 self.assertEqual(package.add_subscription.call_count, 1)44 subscription = package.add_subscription.call_args[0][0]59 package.add_subscription(mock_subscription)69 package.add_subscription(mock_subscription)
41 return self.add_subscription(subscription)43 def add_subscription(self, subscription): member in SubscriptionBundle149 bundle.add_subscription(getattr(obj, attr_name).subscription)152 bundle.add_subscription(getattr(obj, attr_name).subscription)