Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
py.test test case for our example function
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
You can’t perform that action at this time.