test: Unit testing for the Redis/RQ dataclass
This commit adds complete unit testing for the Redis/RQ dataclass located in redis/controller.py
.
In order to simulate RQ queueing without actually creating spurious Redis data, the testing library fakeredis
has been added to the pyproject.toml
file, and poetry.lock
has been regenerated with this dependency added.
As per #48 (closed), this test will not fail outright if a Redis server is not running locally, but will instead throw a skip, which is noted in the final unit testing output.