Skip to content

Commit

Permalink
Remove unneeded code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Dec 3, 2014
1 parent 37a1f9a commit 3c7df9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gcloud/datastore/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,9 @@ def test_get_entity_path(self):
self.assertEqual(result['foo'], 'Foo')

def test_get_entity_odd_nonetype(self):
from gcloud.datastore.connection import datastore_pb
DATASET_ID = 'DATASET'
KIND = 'Kind'
entity_pb = datastore_pb.Entity()
connection = _Connection(entity_pb)
connection = _Connection()
dataset = self._makeOne(DATASET_ID, connection)
with self.assertRaises(ValueError):
dataset.get_entity([KIND])
Expand Down

0 comments on commit 3c7df9c

Please sign in to comment.