Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
covering case where string is a port
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacBlanco committed Jun 17, 2016
1 parent 8161d25 commit f64a820
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_curlclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_basic_command(self, mock_get):


def test_bad_port(self):
ports = [-1, 0, 65536]
ports = [-1, 0, 65536, 'strPort']
for pt in ports:
try:
client = CurlClient(port=pt)
Expand Down Expand Up @@ -98,4 +98,5 @@ def test_http_verbs(self):





0 comments on commit f64a820

Please sign in to comment.