Skip to content

Commit

Permalink
remove unnecessary fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
frndmg committed Aug 8, 2022
1 parent c1adf92 commit 55487f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
10 changes: 0 additions & 10 deletions tests/conftest.py
Expand Up @@ -402,13 +402,3 @@ def local_s3_rig(request, monkeypatch, assets_dir):
custom_s3_rig,
],
)

# use all available s3 implementations (include mocked local one)
s3_like_rig_all = fixture_union(
"s3_like_rig_all",
[
s3_rig,
custom_s3_rig,
local_s3_rig,
],
)
4 changes: 1 addition & 3 deletions tests/test_s3_specific.py
Expand Up @@ -164,13 +164,11 @@ def test_fake_directories(s3_like_rig):
assert not test_case.is_file()


def test_directories(s3_like_rig_all):
def test_directories(s3_like_rig):
"""Fixing bug that marks as directories prefixes of existing paths
Ref: https://github.com/drivendataorg/cloudpathlib/issues/208
"""
s3_like_rig = s3_like_rig_all

super_path = s3_like_rig.create_cloud_path("dir_0/file0_0.txt")
assert super_path.exists()
assert not super_path.is_dir()
Expand Down

0 comments on commit 55487f0

Please sign in to comment.