File: conftest.py

package info (click to toggle)
python-pydash 8.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,280 kB
  • sloc: python: 14,027; makefile: 83
file content (9 lines) | stat: -rw-r--r-- 143 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from unittest import mock

import pytest


@pytest.fixture
def mock_sleep():
    with mock.patch("time.sleep") as mocked:
        yield mocked