-
Good evening.
How do I mock the method `AddCondition` from `ITransaction`?
My class:
```c#
public class SampleRedisRepository
{
private const string cFIELD_STATUS = "STATUS";
…
-
Hello,
We are sorry if this is a long text. This a copy-paste issue we also posted on apache/airflow and redis/redis-py. We include a MCVE to reproduce this bug. We are not sure who should fix this…
-
The signature of `redis.Redis.from_url` is as follows:
```python
def from_url(cls, url, db=None, **kwargs)
```
However, Mockredispy defines it as follows:
```python
def mock_redis_client(*…
-
### Expected behaviour
When I mock the redis instance the function is called the function name should not be lowercase.
### Actual behaviour
When I mock the redis instance the function is cal…
-
I try to mock the redis using the library with "rsmq" [https://www.npmjs.com/package/rsmq] with jest as follows, but gives me an error:
My packge.json
```
"jest": {
"testEnvironment": "node"…
-
Currently there are two backends which could potentially be used for storing data locally:
- `mock`
- `s3`
Currently the S3 sdk for `aws` is used, so you're unable to connect to another S3 API …
-
# Feature request
I would like to call `requests_mock.get("http://foo", hook={"response": my_hook_func})`
https://2.python-requests.org/en/master/user/advanced/#event-hooks
# Why
I'm writi…
-
## Description
### User story
As a Cartography team member, I want to implement rules that will reduce the likelihood of a 401 error.
### Notes
- This change is needed because the VA Profile…
-
Hi there,
Given the following dependencies (from go.mod):
```text
github.com/go-redis/cache/v9 v9.0.0
github.com/go-redis/redismock/v9 v9.0.3
```
I get this issue:
```shell
# github.…
-
Hi,
I'd like to use `redis-mock` in a testing environment to stub the redis database behind `kue`. However, I noticed that kue jobs are never processed when using redis-mock. I created a minimal ex…