-
# Step 1/4 - The mutation setup
### Estimated time: 1 hour
On this track, you're going to develop a mutation to create users on database. Let's start with baby steps, by creating the mutation prototy…
-
With given code:
```python
import httpx
from respx.router import MockRouter
class TestErrorFeedback:
def test_missing_path(self, respx_mock: MockRouter) -> None:
url: str = 'http…
-
### Background and motivation
I'm writing a code that exposes an NpgsqlDataReader. I would like to use async methods of DataReader and also be able to test my code by mocking DataReader, so i prefer …
-
In the misconfiguration issue, the problem is in `parts.urdf.xacro`. On `husky:0.4.10`, this corresponds to `/ros_ws/src/husky/husky_description/urdf/husky.urdf.xacro`.
In the recovered architectu…
-
**What**
Currently retrieving the calls via `mock.Calls` results in a data race condition when the test is using multiple go routines.
**Expected**
A thread-safe way to obtain the call count/list…
-
Are there any examples on how would one properly test code using this library, particularly mocking out the database calls?
It seems like a recommended way to use most things (database object, tran…
-
When returning a value class from a mocked method, class cast can not be done properly
Sample code:
```
value class Base64Data(val data: String)
```
```
fun doSomething(data: Base64Data): …
-
**Is your feature request related to a problem? Please describe.**
- I'm working on a FastAPI project that uses the `supabase-py` client.
- I am writing tests focused on API interaction (payload va…
-
Using httpx==0.25.1
Test case:
```py
def test_respx_data_list():
with respx.mock:
respx.post("http://example.com", data={"foo": ["bar"]})
httpx.post("http://example.com",…
-
https://github.com/chainreactionmfg/cara/blob/master/tests/cara_pseud_test.py
To reduce flakiness, I took the mocking route and mocked out ZMQStream and ZMQContext. The downside was that I had to imp…