Created
June 29, 2013 23:52
-
-
Save andy47/5893180 to your computer and use it in GitHub Desktop.
py.test test case for our example function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from parse_conn import parse_connection | |
import py.test | |
def test_not_at(): | |
py.test.raises(ValueError, parse_connection, 'invalid uri') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment