Skip to content

Commit 27deb38

Browse files
committed
Tests added
1 parent 79c83f7 commit 27deb38

6 files changed

Lines changed: 13 additions & 4 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ var/
1515
*.egg-info/
1616
.installed.cfg
1717
*.egg
18-
/tests/*
1918
logs/
20-
__pycache__/
19+
__pycache__/
20+
.pytest_cache/

geocachingapi/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
"""Python client for Ziggo Next."""
2-
from .geocachingapi import GeocachingApi
1+
"""Python client for connecting to the Geocaching API"""
2+
from .geocachingapi import GeocachingApi

geocachingapi/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Geocaching Api Constants."""

tests/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Python client for connecting to the Geocaching API"""

tests/pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
log_format = %(asctime)s %(levelname)s %(message)s
3+
log_date_format = %Y-%m-%d %H:%M:%S

tests/test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""Test for Geocaching Api integration."""
2+
from geocachingapi import GeocachingApi
3+
def test():
4+
assert(True)

0 commit comments

Comments
 (0)