Skip to content

Commit

Permalink
Made user info not required for RedisDSN. This will fix the issue pyd…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesav Kolla authored and Kesav Kolla committed Mar 11, 2020
1 parent 4ccb782 commit 0e68f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_networks.py
Expand Up @@ -321,7 +321,7 @@ class Model(BaseModel):
assert m.a.password == 'pass'

m = Model(a='redis://:pass@localhost:5432')
assert m.a == 'redis://:pass@localhost:5432'
assert m.a == 'redis://:pass@localhost:5432'
assert m.a.password == 'pass'

with pytest.raises(ValidationError) as exc_info:
Expand Down

0 comments on commit 0e68f2c

Please sign in to comment.