From f64a8202c61b2e1a4725d393aa7cf7f3f4d110e4 Mon Sep 17 00:00:00 2001 From: zblanco Date: Fri, 17 Jun 2016 12:18:46 -0700 Subject: [PATCH] covering case where string is a port --- tests/test_curlclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_curlclient.py b/tests/test_curlclient.py index 1c86065..e331b5f 100644 --- a/tests/test_curlclient.py +++ b/tests/test_curlclient.py @@ -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) @@ -98,4 +98,5 @@ def test_http_verbs(self): + \ No newline at end of file