tests: adjust imports to always import installed version

This commit is contained in:
Peter F. Patel-Schneider 2024-03-27 14:41:12 -04:00
parent cb16a46b93
commit 12f3f2e856
4 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
import pytest
import yaml
from lib.logitech_receiver import common
from logitech_receiver import common
def test_crc16():

View File

@ -6,10 +6,10 @@ from typing import Optional
import pytest
from lib.logitech_receiver import common
from lib.logitech_receiver import hidpp10
from lib.logitech_receiver import hidpp10_constants
from lib.logitech_receiver import hidpp20_constants
from logitech_receiver import common
from logitech_receiver import hidpp10
from logitech_receiver import hidpp10_constants
from logitech_receiver import hidpp20_constants
_hidpp10 = hidpp10.Hidpp10()

View File

@ -5,10 +5,10 @@ from typing import Any
import pytest
from lib.logitech_receiver import common
from lib.logitech_receiver import hidpp20
from lib.logitech_receiver import hidpp20_constants
from lib.logitech_receiver import special_keys
from logitech_receiver import common
from logitech_receiver import hidpp20
from logitech_receiver import hidpp20_constants
from logitech_receiver import special_keys
from . import hidpp

View File

@ -2,9 +2,9 @@ from dataclasses import dataclass
import pytest
from lib.logitech_receiver import common
from lib.logitech_receiver import hidpp20
from lib.logitech_receiver import hidpp20_constants
from logitech_receiver import common
from logitech_receiver import hidpp20
from logitech_receiver import hidpp20_constants
from . import hidpp