Skip to content

Commit

Permalink
Merge pull request #87 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 Apr 5, 2018
2 parents 9a4300c + a0fd462 commit f6e6463
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# test runs requirements (versions we'll be testing against) - automatically updated by requires.io
coverage==4.4.1 # pytest-cov
pylama==7.4.1
coverage==4.5.1 # pytest-cov
pylama==7.4.3
pyflakes==1.6.0
pydocstyle==2.0.0
pydocstyle==2.1.1
pycodestyle==2.3.1
mccabe==0.6.1
pyroma==2.2
pytest==3.2.1 # rq.filter: !=2.9.0,!=2.9.1,!=2.9.2
pyroma==2.3
pytest==3.5.0 # rq.filter: !=2.9.0,!=2.9.1,!=2.9.2
port-for==0.4
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def read(fname):

test_requires = [
'pytest-cov==2.5.1',
'pytest-xdist==1.20.0',
'pytest-xdist==1.22.2',
'mock==2.0.0',
]

Expand Down
2 changes: 2 additions & 0 deletions src/pytest_elasticsearch/port.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# You should have received a copy of the GNU Lesser General Public License
# along with pytest-elasticsearch. If not, see <http://www.gnu.org/licenses/>.
"""Helpers for port-for package."""
from itertools import chain

import port_for
Expand All @@ -24,6 +25,7 @@ class InvalidPortsDefinition(ValueError):
"""Exception raised if ports definition is not a valid string."""

def __init__(self, ports):
"""Construct InvalidPortsDefinition exception."""
self.ports = ports

def __str__(self):
Expand Down

0 comments on commit f6e6463

Please sign in to comment.