File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 5
5
# pylint: disable=attribute-defined-outside-init
6
6
import logging
7
7
from copy import deepcopy
8
- from datetime import datetime
9
- from math import isclose
10
8
from unittest import mock
11
9
12
10
import pytest
@@ -30,7 +28,7 @@ class NotJsonSerializableMock:
30
28
class TestS3Output (BaseOutputTestCase ):
31
29
CONFIG = {
32
30
"type" : "s3_output" ,
33
- "endpoint_url" : "http://host:123 " ,
31
+ "endpoint_url" : "http://localhost:23423 " ,
34
32
"aws_access_key_id" : "foo_aws_access_key_id" ,
35
33
"aws_secret_access_key" : "foo_aws_secret_access_key" ,
36
34
"bucket" : "foo_bucket" ,
@@ -50,7 +48,8 @@ class TestS3Output(BaseOutputTestCase):
50
48
51
49
def test_describe_returns_s3_output (self ):
52
50
assert (
53
- self .object .describe () == "S3Output (Test Instance Name) - S3 Output: http://host:123"
51
+ self .object .describe ()
52
+ == "S3Output (Test Instance Name) - S3 Output: http://localhost:23423"
54
53
)
55
54
56
55
base_prefix_tests_cases = ["" , "test" ]
You can’t perform that action at this time.
0 commit comments