diff --git a/poetry.lock b/poetry.lock index 8cf5639..d0dde37 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "astroid" @@ -1264,4 +1264,4 @@ test = ["coverage", "pytest"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "8f2732e27358a00b906b4565b2925dfd4a115f52a56202f155fe85c8c4698be9" +content-hash = "5fac81ca47b076bd9eef041cf6e4af51a5b4fa93aa5afc7746d0ecd5c319e6e9" diff --git a/tests/test__version__.py b/tests/test__version__.py index 8c10174..7a6eb94 100644 --- a/tests/test__version__.py +++ b/tests/test__version__.py @@ -2,6 +2,6 @@ def test_metadata() -> None: - assert __version__.__title__ == "screenpy-selenium" + assert __version__.__title__ == "screenpy_selenium" assert __version__.__license__ == "MIT" assert __version__.__author__ == "Perry Goy" diff --git a/tests/unittest_protocols.py b/tests/unittest_protocols.py index 4a0054f..a1ef169 100644 --- a/tests/unittest_protocols.py +++ b/tests/unittest_protocols.py @@ -1,30 +1,25 @@ -from typing import Protocol +from typing import Protocol, runtime_checkable -from screenpy import Answerable, ErrorKeeper, Forgettable, Performable +from screenpy import Answerable, Describable, Forgettable, Performable from screenpy_selenium import Chainable -class Describable(Protocol): - def describe(self) -> str: - ... - - +@runtime_checkable class Question(Answerable, Describable, Protocol): ... -class ErrorQuestion(Answerable, Describable, ErrorKeeper, Protocol): - ... - - +@runtime_checkable class Action(Performable, Describable, Protocol): ... +@runtime_checkable class ChainableAction(Chainable, Performable, Describable, Protocol): ... +@runtime_checkable class Ability(Forgettable, Protocol): ...