test: Formatting fixes

This commit is contained in:
Daan De Meyer 2024-05-02 08:52:50 +02:00
parent 54d0507223
commit bdade5f597
3 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
test_params = test_params + { test_params += {
'storage': 'persistent', 'storage': 'persistent',
} }

View file

@ -119,7 +119,7 @@ def main():
else [] else []
), ),
]), ]),
'--credential', f"journal.storage={'persistent' if sys.stderr.isatty() else args.storage}" , '--credential', f"journal.storage={'persistent' if sys.stderr.isatty() else args.storage}",
*args.mkosi_args, *args.mkosi_args,
'qemu', 'qemu',
] ]

View file

@ -412,7 +412,7 @@ foreach test_number, dirname : integration_tests
test_params = { test_params = {
'mkosi_args' : [], 'mkosi_args' : [],
'timeout' : 1800, 'timeout' : 1800,
'storage': 'volatile', 'storage' : 'volatile',
} }
# TODO: This fs.exists call isn't included in rebuild logic # TODO: This fs.exists call isn't included in rebuild logic
@ -435,9 +435,9 @@ foreach test_number, dirname : integration_tests
# on every "ninja -C build". Instead, the mkosi target has to be rebuilt manually before # on every "ninja -C build". Instead, the mkosi target has to be rebuilt manually before
# running the integration tests with mkosi. # running the integration tests with mkosi.
test(dirname, test(dirname,
integration_test_wrapper, integration_test_wrapper,
env: test_env, env : test_env,
args : args, args : args,
timeout : test_params['timeout'], timeout : test_params['timeout'],
suite : 'integration-tests') suite : 'integration-tests')
endforeach endforeach