mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-31 22:59:55 +00:00
improve wording in documentation
This commit is contained in:
@ -3,13 +3,13 @@ from ahriman.core.formatters import AurPrinter
|
||||
|
||||
def test_properties(aur_package_ahriman_printer: AurPrinter) -> None:
|
||||
"""
|
||||
must return non empty properties list
|
||||
must return non-empty properties list
|
||||
"""
|
||||
assert aur_package_ahriman_printer.properties()
|
||||
|
||||
|
||||
def test_title(aur_package_ahriman_printer: AurPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert aur_package_ahriman_printer.title() is not None
|
||||
|
@ -3,7 +3,7 @@ from ahriman.core.formatters import ConfigurationPrinter
|
||||
|
||||
def test_properties(configuration_printer: ConfigurationPrinter) -> None:
|
||||
"""
|
||||
must return non empty properties list
|
||||
must return non-empty properties list
|
||||
"""
|
||||
assert configuration_printer.properties()
|
||||
|
||||
@ -17,6 +17,6 @@ def test_properties_required(configuration_printer: ConfigurationPrinter) -> Non
|
||||
|
||||
def test_title(configuration_printer: ConfigurationPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert configuration_printer.title() == "[section]"
|
||||
|
@ -3,13 +3,13 @@ from ahriman.core.formatters import PackagePrinter
|
||||
|
||||
def test_properties(package_ahriman_printer: PackagePrinter) -> None:
|
||||
"""
|
||||
must return non empty properties list
|
||||
must return non-empty properties list
|
||||
"""
|
||||
assert package_ahriman_printer.properties()
|
||||
|
||||
|
||||
def test_title(package_ahriman_printer: PackagePrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert package_ahriman_printer.title() is not None
|
||||
|
@ -3,7 +3,7 @@ from ahriman.core.formatters import PatchPrinter
|
||||
|
||||
def test_properties(patch_printer: PatchPrinter) -> None:
|
||||
"""
|
||||
must return non empty properties list
|
||||
must return non-empty properties list
|
||||
"""
|
||||
assert patch_printer.properties()
|
||||
|
||||
@ -17,6 +17,6 @@ def test_properties_required(patch_printer: PatchPrinter) -> None:
|
||||
|
||||
def test_title(patch_printer: PatchPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert patch_printer.title() == "ahriman"
|
||||
|
@ -10,6 +10,6 @@ def test_properties(status_printer: StatusPrinter) -> None:
|
||||
|
||||
def test_title(status_printer: StatusPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert status_printer.title() is not None
|
||||
|
@ -10,6 +10,6 @@ def test_properties(string_printer: StringPrinter) -> None:
|
||||
|
||||
def test_title(string_printer: StringPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert string_printer.title() is not None
|
||||
|
@ -10,6 +10,6 @@ def test_properties(update_printer: UpdatePrinter) -> None:
|
||||
|
||||
def test_title(update_printer: UpdatePrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert update_printer.title() is not None
|
||||
|
@ -3,13 +3,13 @@ from ahriman.core.formatters import UserPrinter
|
||||
|
||||
def test_properties(user_printer: UserPrinter) -> None:
|
||||
"""
|
||||
must return non empty properties list
|
||||
must return non-empty properties list
|
||||
"""
|
||||
assert user_printer.properties()
|
||||
|
||||
|
||||
def test_title(user_printer: UserPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert user_printer.title() is not None
|
||||
|
@ -10,6 +10,6 @@ def test_properties(version_printer: VersionPrinter) -> None:
|
||||
|
||||
def test_title(version_printer: VersionPrinter) -> None:
|
||||
"""
|
||||
must return non empty title
|
||||
must return non-empty title
|
||||
"""
|
||||
assert version_printer.title() is not None
|
||||
|
Reference in New Issue
Block a user