Skip to content

Commit cd0f114

Browse files
committed
Add a comment explaining testing deeper than two levels of pseudo-hierarchy.
Incorporates feedback from @dhermes: #376 (comment)
1 parent b607f34 commit cd0f114

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

regression/storage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ def test_second_level(self):
267267
('parent/child/grand/', 'parent/child/other/'))
268268

269269
def test_third_level(self):
270+
# Pseudo-hierarchy can be arbitrarily deep, subject to the limit
271+
# of 1024 characters in the UTF-8 encoded name:
272+
# https://cloud.google.com/storage/docs/bucketnaming#objectnames
273+
# Exercise a layer deeper to illustrate this.
270274
iterator = self.bucket.iterator(delimiter='/',
271275
prefix='parent/child/grand/')
272276
response = iterator.get_next_page_response()

0 commit comments

Comments
 (0)