Skip to content

Commit

Permalink
Merge pull request #250 from iivanou/enable_log_batches
Browse files Browse the repository at this point in the history
Remove trailing slash when filtering log messages
  • Loading branch information
Dmitriy Gumeniuk authored Feb 15, 2021
2 parents a416c7e + 9dac2c6 commit 68d8392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pytest_reportportal/rp_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def filter(self, record):
if record.name == 'urllib3.connectionpool':
# Filter the reportportal_client requests instance
# urllib3 usage
if self.endpoint in self.format(record):
if self.endpoint.rstrip('/') in self.format(record):
return False
return True

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dill>=0.2.7.1
pytest>=3.0.7
reportportal-client>=5.0.8
reportportal-client>=5.0.9
six>=1.15.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup


__version__ = '5.0.7'
__version__ = '5.0.8'


def read_file(fname):
Expand Down

0 comments on commit 68d8392

Please sign in to comment.