From 4de68b48af77912bbd05f2e9a3b6ec21acc61423 Mon Sep 17 00:00:00 2001 From: Gaurav Ramrakhyani Date: Fri, 3 May 2024 22:23:56 +0530 Subject: [PATCH] update test case to increase % coverage --- src/core/tests/Test_PatchInstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tests/Test_PatchInstaller.py b/src/core/tests/Test_PatchInstaller.py index 7be958da..cfb235a2 100644 --- a/src/core/tests/Test_PatchInstaller.py +++ b/src/core/tests/Test_PatchInstaller.py @@ -339,7 +339,7 @@ def test_dependency_install_failed(self): # grub-efi-amd64-signed is dependent on grub-efi-amd64-bin, so grub-efi-amd64-signed should also get excluded # so, out of 7 packages, only 5 packages are installed and 2 are excluded current_time = datetime.datetime.utcnow() - td = datetime.timedelta(hours=0, minutes=20) + td = datetime.timedelta(hours=0, minutes=42) job_start_time = (current_time - td).strftime("%Y-%m-%dT%H:%M:%S.9999Z") argument_composer = ArgumentComposer() argument_composer.maximum_duration = 'PT1H'