Skip to content

Commit

Permalink
Add shortcut to the ShamrockException.
Browse files Browse the repository at this point in the history
  • Loading branch information
zmasek committed Aug 9, 2020
1 parent 484555f commit 6d28699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions shamrock/__init__.py
@@ -1,4 +1,5 @@
"""Shamrock - A Trefle API Integration."""
from .exceptions import ShamrockException
from .shamrock import ENDPOINTS, NAVIGATION, Shamrock

__author__ = "Zlatko Mašek"
Expand Down
3 changes: 1 addition & 2 deletions tests/tests.py
Expand Up @@ -9,8 +9,7 @@
from requests.exceptions import HTTPError, Timeout, TooManyRedirects

import shamrock
from shamrock import ENDPOINTS, NAVIGATION, Shamrock
from shamrock.exceptions import ShamrockException
from shamrock import ENDPOINTS, NAVIGATION, Shamrock, ShamrockException

TOKEN = os.environ.get("TREFLE_TOKEN")

Expand Down

0 comments on commit 6d28699

Please sign in to comment.