-
### What feature would you like to be added?
Add a test utility class for mocking a ChatCompletionClient for testing. E.g.
```python
mock_client = ReplayChatCompletionClient(chat_completions=)
#…
-
It would be handy to be able to wrap the test class with a prepared mock and not require the test cases to accept the mock.
For example, pass a mock that is already loaded with the expected respons…
-
```
Mockito is easy to use, so people use it! Unfortunately, this means that
sometimes they ignore the helpful advice on the mockito docs, namely:
"
Remember
Do not mock types you don't own
Don't …
-
```
Mockito is easy to use, so people use it! Unfortunately, this means that
sometimes they ignore the helpful advice on the mockito docs, namely:
"
Remember
Do not mock types you don't own
Don't …
-
```
Mockito is easy to use, so people use it! Unfortunately, this means that
sometimes they ignore the helpful advice on the mockito docs, namely:
"
Remember
Do not mock types you don't own
Don't …
-
### Description
It's difficult to write unit tests for `Bugsnag` functions due to how the SDK is built and how the `Client` is initialized/managed.
#103 [describes a solution](https://githu…
-
With the recent update, `S3.put_object()` of data 80000 bytes and more fails after the previous `S3.get_object()` of the large (>=1GB) file (at least I believe that's the pattern).
The request
```…
alyst updated
2 years ago
-
Hi,
I'm trying to test my worker inside a Vue.js project. I load the worker inside my component using the [worker-plugin](https://github.com/GoogleChromeLabs/worker-plugin/) (I also tried loading m…
-
#### I have this special use case :
- **Multiple countries**
``` python
# settings.py
COUNTRY_NAMES = {
'ch': 'Switzerland',
'fr': 'France',
'jp': 'Japan',
}
```
- **Each having their ow…
-
### Troubleshooting docs
- [X] My problem is not solved in the Troubleshooting docs
### Anaconda default channels
- [X] I do NOT use the Anaconda default channels (pkgs/* etc.)
### How did you ins…