Skip to content

Commit 1c4a674

Browse files
committed
test_gcs.py: remove duplicated definition of 'test_remove_folder'
1 parent 4b1c8dc commit 1c4a674

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/v2_tests/test_gcs.py

-13
Original file line numberDiff line numberDiff line change
@@ -454,19 +454,6 @@ def test_remove(gcs_fixture):
454454
assert not gcs.exists('foo.data')
455455

456456

457-
def test_remove_folder(gcs_fixture):
458-
with from_url(BASE_URL + '/base') as gcs:
459-
d = 'subdir'
460-
gcs.mkdir(d)
461-
462-
with pytest.raises(io.UnsupportedOperation) as err:
463-
gcs.remove(d)
464-
assert str(err.value) == \
465-
"Please add recursive=True to remove a directory"
466-
467-
gcs.remove(d, recursive=True)
468-
assert not gcs.exists(d)
469-
470457
def test_remove_folder(gcs_fixture):
471458
with from_url(BASE_URL + '/base') as gcs:
472459
d = 'subdir'

0 commit comments

Comments
 (0)