mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
15 lines
335 B
Python
15 lines
335 B
Python
from __future__ import annotations
|
|
|
|
from adetailer.args import ALL_ARGS, ADetailerArgs
|
|
|
|
|
|
def test_all_args() -> None:
|
|
args = ADetailerArgs()
|
|
for attr, _ in ALL_ARGS:
|
|
assert hasattr(args, attr), attr
|
|
|
|
for attr, _ in args:
|
|
if attr == "is_api":
|
|
continue
|
|
assert attr in ALL_ARGS.attrs, attr
|