def test_update_raises_exception_with_bad_keys(self):
        try:
            Subscription.update("id", {"bad_key": "value"})
            self.assertTrue(False)
        except __HOLE__ as e:
            self.assertEquals("'Invalid keys: bad_key'", str(e))
dataset/ETHPy150Open braintree/braintree_python/tests/unit/test_subscription.py/TestSubscription.test_update_raises_exception_with_bad_keys