From: Daan De Meyer Date: Fri, 20 Oct 2023 13:53:28 +0000 (+0200) Subject: Sort args in test_json X-Git-Tag: v19~57^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3eb9dbbb8603c1592c825463df1b2a2d070bcba;p=thirdparty%2Fmkosi.git Sort args in test_json --- diff --git a/tests/test_json.py b/tests/test_json.py index b8e87cfef..c73f42d0d 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -50,17 +50,17 @@ def test_args(path: Optional[Path]) -> None: ) args = MkosiArgs( - verb = Verb.build, + auto_bump = False, cmdline = ["foo", "bar"], - force = 9001, - directory = Path(path) if path is not None else None, debug = False, debug_shell = False, - pager = True, - genkey_valid_days = "100", - genkey_common_name = "test", - auto_bump = False, + directory = Path(path) if path is not None else None, doc_format = DocFormat.auto, + force = 9001, + genkey_common_name = "test", + genkey_valid_days = "100", + pager = True, + verb = Verb.build, ) assert args.to_json(indent=4, sort_keys=True) == dump.rstrip()