Skip to content

Commit

Permalink
Merge pull request #522 from tisnik/dont-fail-other-tests-that-sha-ones
Browse files Browse the repository at this point in the history
Don't fail other tests than SHA extractor ones
  • Loading branch information
tisnik authored Nov 1, 2023
2 parents 380b142 + a1307f5 commit 40155f0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions features/steps/insights_sha_extractor_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@

"""Implementation of logic behind usage of S3 and Kafka in SHA extractor tests."""

import boto3
import json
import logging
import os

import json
from behave import when
from botocore.exceptions import ClientError
from src import kafka_util

try:
import boto3
from botocore.exceptions import ClientError
except ImportError as e:
print("Warning: unable to import module:", e)


def create_presigned_url(s3_client, bucket_name, object_name, expiration=3600):
"""Generate a presigned URL to share an S3 object."""
Expand Down

0 comments on commit 40155f0

Please sign in to comment.