Skip to content

Commit

Permalink
Merge pull request #43 from ClearcodeHQ/requires-io-master
Browse files Browse the repository at this point in the history
[requires.io] dependency update on master branch
  • Loading branch information
fizyk committed Jul 7, 2017
2 parents 5f2619f + 3d7bfe8 commit 7551369
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# test runs requirements (versions we'll be testing against) - automatically updated by requires.io
coverage==4.4.1 # pytest-cov
pylama==7.3.3
pylama==7.4.1
pyflakes==1.5.0
pydocstyle==2.0.0
pycodestyle==2.3.1
mccabe==0.6.1
pyroma==2.2
pytest==3.1.2
pytest==3.1.3
rabbitpy==1.0.0
port-for==0.3.1
mirakuru==0.8.2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def read(fname):
]

test_requires = [
'pytest-xdist==1.17.1',
'pytest-xdist==1.18.1',
'pytest-cov==2.5.1'
]

Expand Down
4 changes: 2 additions & 2 deletions src/pytest_rabbitmq/port.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class InvalidPortsDefinition(ValueError):
"""Exception raised if ports definition is not a valid string."""

def __init__(self, ports):
"""Constructor for InvalidPortsDefinition exception."""
"""Initialize InvalidPortsDefinition exception."""
self.ports = ports

def __str__(self):
"""String representation."""
"""Return string representation."""
return (
'Unknown format of ports: {0}.\n'
'You should provide a ports range "[(4000,5000)]"'
Expand Down

0 comments on commit 7551369

Please sign in to comment.