diff --git a/tests/test_args.py b/tests/test_args.py new file mode 100644 index 0000000..89b0c2b --- /dev/null +++ b/tests/test_args.py @@ -0,0 +1,14 @@ +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