Skip to content

Commit

Permalink
Add test for __init__ file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Leland committed Aug 20, 2015
1 parent a44b322 commit 4f4d5d7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/test_init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import pytest

from sparkpost import SparkPost
from sparkpost.exceptions import SparkPostException


def test_no_api_key():
with pytest.raises(SparkPostException):
SparkPost()

0 comments on commit 4f4d5d7

Please sign in to comment.