def test_local_validation_errors(self): client = IntegerKeyClient(self.urls[0], keystring=generate_private_key(), disable_client_validation=True) with self.assertRaises(InvalidTransactionError): client.inc("bob", 1)
def _generate_invalid_transactions(self, url): client = IntegerKeyClient(url, keystring=generate_private_key(), disable_client_validation=True) with self.assertRaises(InvalidTransactionError): client.inc("bob", 1)
def _generate_invalid_transactions(self, url): client = IntegerKeyClient(url, keystring=generate_private_key(), disable_client_validation=True) with self.assertRaises(InvalidTransactionError): client.inc("bob", 1)