Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[flake8]
ignore = E231, W503, D202
max-line-length = 88

[tool:pytest]
asyncio_mode = auto
3 changes: 0 additions & 3 deletions tests/gain/test_gain.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
from camacqplugins.gain import GAIN_CALC_EVENT
from tests.common import IMAGE_DATA_DIR

# All test coroutines will be treated as marked.
pytestmark = pytest.mark.asyncio # pylint: disable=invalid-name

PLATE_NAME = "slide"
WELL_X, WELL_Y = 1, 0

Expand Down
4 changes: 0 additions & 4 deletions tests/production/test_production.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Test the production plugin."""
from unittest.mock import AsyncMock, call

import pytest
import voluptuous as vol
from ruamel.yaml import YAML

Expand All @@ -10,9 +9,6 @@
from camacq.plugins.sample import get_matched_samples
from camacqplugins.gain import GainCalcEvent

# All test coroutines will be treated as marked.
pytestmark = pytest.mark.asyncio # pylint: disable=invalid-name

CONFIG = """
production:
gain_pattern_name: p10xgain
Expand Down