Ivan Zaikin

Results 17 comments of Ivan Zaikin

> Has anyone tried using already provided `schema()` method in `pydantic` with already provided `openapi.Schema` class in `drf_yasg` to generate the docs, something like this -- This does not seem...

I wrote `pytest_unordered` especially for testing APIs that may return data in arbitrary order. It is tedious and often impossible to sort or convert a part of a complex json...

@RonnyPfannschmidt, do you want me to create a pull request into pytest?

> There is currently an attempt to get an idea of matcher combination, so that we have a library with matchers for not just unordered, but other qualities as well,...

> A few weeks ago i had a call with @asottile about creating a DSL for assertion /check writing that combines tools like re_asserrt, unordered, approx and a a few...

> see [cameronmaske/celery-once](https://github.com/cameronmaske/celery-once) which has `unlock_before_run` celery-once seems abandoned, there is no activity since 2019.

And now the project seems abandoned, though it works for me.

https://github.com/spulec/freezegun/issues/433 is a related issue that is already solved but does not solve this one. Here is a related comment: https://github.com/spulec/freezegun/issues/176#issuecomment-1149163454 that states the same problem and https://github.com/spulec/freezegun/issues/176#issuecomment-1149171726 that mentions...

Reading the source code of `pytest-freezegun` I figured out how it avoids tricking pytest timings: https://github.com/ktosiek/pytest-freezegun/blob/master/pytest_freezegun.py#L39-L41 So the solution is to call `freeze_time` with the ignore argument: freeze_time("2020-01-01T12:00:00Z", ignore=['_pytest.runner', '_pytest.terminal'])...

The source code is in a separate branch: https://github.com/utapyngo/owl2vcs/tree/merge