mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +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.aur_printer import AurPrinter
|
|
|
|
|
|
def test_properties(aur_package_ahriman_printer: AurPrinter) -> None:
|
|
"""
|
|
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
|
|
"""
|
|
assert aur_package_ahriman_printer.title() is not None
|