mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 23:01:44 +00:00
This feature also introduces the followiing changes * aur-search command now works as expected with multiterms * printer classes for managing of data print * --sort-by argument for aur-search subcommand instead of using package name * --quiet argument now has also --no-quite option * if --quite is supplied, the log level will be set to warn instead of critical to be able to see error messages * pretty_datetime function now also supports datetime objects * BuildStatus is now pure dataclass
16 lines
422 B
Python
16 lines
422 B
Python
from ahriman.application.formatters.package_printer import PackagePrinter
|
|
|
|
|
|
def test_properties(package_ahriman_printer: PackagePrinter) -> None:
|
|
"""
|
|
must return non empty properties list
|
|
"""
|
|
assert package_ahriman_printer.properties()
|
|
|
|
|
|
def test_title(package_ahriman_printer: PackagePrinter) -> None:
|
|
"""
|
|
must return non empty title
|
|
"""
|
|
assert package_ahriman_printer.title() is not None
|