Minor correction in test_set_connection to actually raise AddressError, rather than trying to resolve an address that more often than not raises TimeOut (depending on the network conditions the test runs in)
@@ -76,7 +76,7 @@ def test_set_connection_works():
old_url = db.url
with raises(AddressError):
- db.set_connection('bolt://user:password@nowhere:7687')
+ db.set_connection('bolt://user:password@6.6.6.6.6.6.6.6:7687')
db.set_connection(old_url)
# set connection back
assert APerson(name='New guy2').save()
