-
I enjoyed this Fastapi series and had everything working until I updated my computer from Mac Pro 2015 to Mac Air (M1). From there I experienced unexplained concurrency and time out errors when runn…
-
#### 현재 이슈 05.24.2024
- pytest 실패, 원 #인분석 중
- 테스트 내용
- 가상 클라이언트 9개로 각각 유저 등록, 로그인, 이벤트 생성 및 변경 요청 처리를 하는 pytest 실행시 에러 발생
#### 에러 메시지
```python
RuntimeError: Task attached to a different lo…
-
## Description
From Kedro, I would like to iterate over multiple Kedro sessions and their contexts to test. I am able to iterate from CLI through the different projects but in via pytest the second …
-
#### What's the problem this feature will solve?
Support for per-execution fixtures in executors that wrap each test function and runs the function multiple times (for different examples) have been…
jobh updated
2 months ago
-
pylance:
```py
from pytest import fixture
@fixture()
def f() -> int:
return 1
def test_asdf(f):
reveal_type(f) # Any
```
This is of course absolutely insane that it's `Any`.
…
-
I am using python 3.7 and postgresql
```
@pytest.fixture(autouse=True, scope="session")
def postgres_factory():
"""
Creates an initial fake database for use in unit tests.
"""
p…
-
I have encountered a situation where tests pass locally and fail in CI because the snapshots generated by [Syrupy](https://github.com/tophat/syrupy) can't be found. I've found a solution to this issue…
-
**Summary**
I was playing with OpenHands and noticed that agent makes suboptimal decisions when using `edit_file_by_replace`. [Here](https://gist.github.com/a6kme/230f6cd74f0567d18edc8d98b9d675dd) is…
a6kme updated
2 weeks ago
-
It'd be very helpful to have one canonical way to re-use fixture code between test modules. Right now, I know of 3 ways to do this, each with their own downsides:
1. Import the fixture/hook directl…
-
When using Python 3.11.10, `pytest==8.3.3`, and `pytest-rerunfailures==14.0`, and I incorrectly pass a type (and not a string) to `only_rerun=[AssertionError]`, it leads to a `pytest` crash ([actual C…