fix tests
This commit is contained in:
parent
2e96ae63e8
commit
c88fcf0986
18
poetry.lock
generated
18
poetry.lock
generated
@ -289,6 +289,21 @@ tomli = ">=1.0.0"
|
||||
[package.extras]
|
||||
testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"]
|
||||
|
||||
[[package]]
|
||||
name = "pytest-asyncio"
|
||||
version = "0.19.0"
|
||||
description = "Pytest support for asyncio"
|
||||
category = "dev"
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
|
||||
[package.dependencies]
|
||||
pytest = ">=6.1.0"
|
||||
typing-extensions = {version = ">=3.7.2", markers = "python_version < \"3.8\""}
|
||||
|
||||
[package.extras]
|
||||
testing = ["pytest-trio (>=0.7.0)", "mypy (>=0.931)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "coverage (>=6.2)"]
|
||||
|
||||
[[package]]
|
||||
name = "pytest-cov"
|
||||
version = "3.0.0"
|
||||
@ -511,7 +526,7 @@ docs = ["myst-parser", "Sphinx", "sphinx-rtd-theme"]
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^3.7"
|
||||
content-hash = "6c5abe1f014019df280ea421d5d97d382c2bd65b33cef4ef14b4239c7f1eb1c4"
|
||||
content-hash = "2c9314a941f6be6f7ef96dd996650261032c8c3530abdeef4bfdfc4bca8c9fed"
|
||||
|
||||
[metadata.files]
|
||||
alabaster = []
|
||||
@ -538,6 +553,7 @@ py = []
|
||||
pygments = []
|
||||
pyparsing = []
|
||||
pytest = []
|
||||
pytest-asyncio = []
|
||||
pytest-cov = []
|
||||
pytz = []
|
||||
pyyaml = []
|
||||
|
||||
@ -40,6 +40,7 @@ docs = [
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = "^7.0"
|
||||
pytest-cov = "^3.0"
|
||||
pytest-asyncio = "^0.19.0"
|
||||
|
||||
[tool.semantic_release]
|
||||
branch = "main"
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
from test.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
import pytest
|
||||
|
||||
import dbus_fast.introspection as intr
|
||||
from dbus_fast import DBusError, aio, glib
|
||||
from dbus_fast.message import MessageFlag
|
||||
from dbus_fast.service import ServiceInterface, method
|
||||
from tests.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
has_gi = check_gi_repository()
|
||||
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
from test.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
import pytest
|
||||
|
||||
from dbus_fast import DBusError, Message, aio, glib
|
||||
from dbus_fast.service import PropertyAccess, ServiceInterface, dbus_property
|
||||
from tests.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
has_gi = check_gi_repository()
|
||||
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
from test.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
import pytest
|
||||
|
||||
from dbus_fast import Message, MessageType, aio, glib
|
||||
from dbus_fast.service import ServiceInterface, method
|
||||
from tests.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
has_gi = check_gi_repository()
|
||||
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
from test.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
import pytest
|
||||
|
||||
from dbus_fast import Message, MessageFlag, MessageType
|
||||
from dbus_fast.glib import MessageBus
|
||||
from tests.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
has_gi = check_gi_repository()
|
||||
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
from test.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
import pytest
|
||||
|
||||
from dbus_fast import (
|
||||
@ -11,6 +9,7 @@ from dbus_fast import (
|
||||
aio,
|
||||
glib,
|
||||
)
|
||||
from tests.util import check_gi_repository, skip_reason_no_gi
|
||||
|
||||
has_gi = check_gi_repository()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user