Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amit lissack committed Apr 20, 2022
1 parent b827a4a commit a384f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions hardware/tests/firmware_integration/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Common fixtures for integration tests."""
from __future__ import annotations
import pytest
import asyncio
from typing import AsyncGenerator, Iterator, AsyncIterator, List, Dict

from _pytest.fixtures import FixtureRequest
Expand All @@ -14,8 +13,7 @@


@pytest.fixture
async def driver(
) -> AsyncGenerator[AbstractCanDriver, None]:
async def driver() -> AsyncGenerator[AbstractCanDriver, None]:
"""Create CanDriver connected to OT-3 Emulator."""
settings = DriverSettings()
driver = await build_driver(settings)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Can Driver tests."""
import asyncio
from typing import AsyncGenerator

import pytest
Expand All @@ -24,9 +23,7 @@ def can_bus(bus_channel: str) -> Bus:


@pytest.fixture
async def subject(
bus_channel: str
) -> AsyncGenerator[CanDriver, None]:
async def subject(bus_channel: str) -> AsyncGenerator[CanDriver, None]:
"""The can driver under test."""
driver = await CanDriver.build(channel=bus_channel, interface="virtual", bitrate=0)
yield driver
Expand Down

0 comments on commit a384f2c

Please sign in to comment.