Skip to content

Commit 1e2b5de

Browse files
committed
Use nosetests for travis and fix a bug from renaming param
1 parent 01517f1 commit 1e2b5de

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python:
55
- 3.1
66
- 3.2
77
- 3.3
8-
script: invoke test
8+
script: nosetests
99
install:
1010
- pip install -r requirements.txt
1111
notifications:

geoip2/webservices.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ def country(self, ip_address='me'):
185185
:returns: :py:class:`geoip2.models.Country` object
186186
187187
"""
188-
return self._response_for('country', geoip2.models.Country, ip)
188+
return self._response_for('country', geoip2.models.Country,
189+
ip_address)
189190

190191
def omni(self, ip_address='me'):
191192
"""This method calls the GeoIP2 Precision Omni endpoint.

0 commit comments

Comments
 (0)