redis tests are implemented "not great"

Issue #86 resolved
jvanasco
created an issue

working on a fix, but ticketing for tracking.

  • all redis tests hit the same db (0)
  • keys are simple ("0"-"10"), so they can conflict with existing user keys
  • tearDown doesn't actually delete created keys

fixes: use a default key_mangler for redis (prefix with "dogpile.test._TestRedisConn:") use a custom key_mangler for each test ("dogpile.test.%(test)s") * set a redis_expiration_time argument on the config_args. update the backend test to respect redis_expiration_time

Comments (2)

  1. Log in to comment