Skip to content

Commit 75c368d

Browse files
committed
adding tests
1 parent ec5fe1b commit 75c368d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
download_url='https://github.com/mvexel/overpass-api-python-wrapper/tarball/0.0.1',
1212
keywords=['openstreetmap', 'overpass', 'wrapper'],
1313
classifiers=[],
14-
install_requires=['requests>=2.3.0'],
14+
install_requires=['requests>=2.3.0', 'pytest>=2.6'],
1515
)

test_api.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from overpass import Overpass
2+
3+
4+
class TestAPI:
5+
6+
def test_initialize_api(self):
7+
api = Overpass.API()
8+
assert isinstance(api, Overpass.API)
9+
assert api.debug == False

0 commit comments

Comments
 (0)