diff --git a/gcloud/datastore/test_key.py b/gcloud/datastore/test_key.py
index <HASH>..<HASH> 100644
--- a/gcloud/datastore/test_key.py
+++ b/gcloud/datastore/test_key.py
@@ -19,8 +19,7 @@ class TestKey(unittest2.TestCase):
             pb.partition_id.namespace = namespace
         for elem in path:
             added = pb.path_element.add()
-            if 'kind' in elem:
-                added.kind = elem['kind']
+            added.kind = elem['kind']
             if 'id' in elem:
                 added.id = elem['id']
             if 'name' in elem:
<I>% branch coverage for gcloud.datastore.test_key.

Don't worry about path elem w/o kind.