Skip to content

Commit 53f4ed4

Browse files
committed
skip silly S3 test
1 parent be23fb9 commit 53f4ed4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_active.py

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
from activestorage.active import Active
77
from activestorage.active import load_from_s3
8+
from activestorage.config import *
89
from botocore.exceptions import EndpointConnectionError as botoExc
910

1011

@@ -100,6 +101,7 @@ def test_lock():
100101
assert active.lock is False
101102

102103

104+
@pytest.mark.skipif(USE_S3 = True, reason="it will look for silly bucket")
103105
def test_load_from_s3():
104106
"""Test basic load from S3 without loading from S3."""
105107
uri = "s3://bucket/file.nc"

0 commit comments

Comments
 (0)