def METHOD_NAME(self):
    backend = RedisBackend()
    backend.add("timeline", Record("record:1", "value", time.time()))
    backend.delete("timeline")
    with pytest.raises(InvalidState):
        with backend.digest("timeline", 0) as records:
            assert set(records) == set()
    assert set(backend.schedule(time.time())) == set()
    assert len(backend._get_connection("timeline").keys("d:*")) == 0