Skip to content

Commit

Permalink
De-lint continuations.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jan 15, 2015
1 parent 934a849 commit 0aa8804
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions gcloud/datastore/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,8 @@ def test_lookup_single_key_empty_response_w_eventual_and_transaction(self):
TRANSACTION = 'TRANSACTION'
key_pb = self._make_key_pb(DATASET_ID)
conn = self._makeOne()
self.assertRaises(ValueError,
conn.lookup, DATASET_ID, key_pb,
eventual=True, transaction_id=TRANSACTION)
self.assertRaises(ValueError, conn.lookup, DATASET_ID, key_pb,
eventual=True, transaction_id=TRANSACTION)

def test_lookup_single_key_empty_response_w_transaction(self):
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
Expand Down Expand Up @@ -570,9 +569,8 @@ def test_run_query_w_eventual_and_transaction(self):
rsp_pb.batch.more_results = no_more
rsp_pb.batch.entity_result_type = datastore_pb.EntityResult.FULL
conn = self._makeOne()
self.assertRaises(ValueError,
conn.run_query, DATASET_ID, q_pb,
eventual=True, transaction_id=TRANSACTION)
self.assertRaises(ValueError, conn.run_query, DATASET_ID, q_pb,
eventual=True, transaction_id=TRANSACTION)

def test_run_query_wo_namespace_empty_result(self):
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
Expand Down

0 comments on commit 0aa8804

Please sign in to comment.