Skip to content

Commit

Permalink
Merge pull request #16 from dynatrace-oss/renovate/requests-2.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency requests from 2.28.1 to 2.28.2
  • Loading branch information
ivallhon authored Apr 20, 2023
2 parents eff211a + 84d732c commit f7d9373
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
moto==4.1.7
responses==0.21.0
responses==0.23.1
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requests==2.28.1
requests==2.28.2
jmespath==1.0.1
pygrok==1.0.0
PyYAML==6.0
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/log/sinks/test_dynatrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import responses
import boto3
from moto import mock_ssm
from urllib3.exceptions import MaxRetryError
from requests.packages.urllib3.exceptions import MaxRetryError
import log.sinks.dynatrace as dynatrace

logging.getLogger().setLevel(logging.INFO)
Expand Down Expand Up @@ -110,7 +110,7 @@ def test_dynatrace_throttling(self):
session = requests.Session()
session.mount("https://", adapter)

self.assertRaises(MaxRetryError,dynatrace_sink.ingest_logs,test_log_entries,session=session)
self.assertRaises(requests.exceptions.RetryError,dynatrace_sink.ingest_logs,test_log_entries,session=session)

if __name__ == '__main__':
unittest.main()

0 comments on commit f7d9373

Please sign in to comment.