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
382 B
Python
16 lines
382 B
Python
from ahriman.application.formatters.status_printer import StatusPrinter
|
|
|
|
|
|
def test_properties(status_printer: StatusPrinter) -> None:
|
|
"""
|
|
must return empty properties list
|
|
"""
|
|
assert not status_printer.properties()
|
|
|
|
|
|
def test_title(status_printer: StatusPrinter) -> None:
|
|
"""
|
|
must return non empty title
|
|
"""
|
|
assert status_printer.title() is not None
|