Closed
Description
What action do you want to perform
I want to use pytest-redis on OS X . I made a simplified test function based on the documentation
def test_my_redis(redisdb):
"""Check that it's actually working on redis database."""
redisdb.set('test1', 'test')
redisdb.set('test2', 'test')
assert redisdb.get("test1") == 1
What are the results
The following error is raised:
redis.exceptions.ConnectionError: Error connecting to unix socket: /private/var/folders/s9/fpx7c2mj6cj4y80p28bt7c3m0000gn/T/pytest-of-maartenderickx/pytest-3/pytest-redis-redis_proc0/redis.29482.sock. AF_UNIX path too long.
What are the expected results
a succesfully run testcase where no error is raised but instead the test has failed because 'test' is not equal to 1