File v3-1-2-fix-failing-test-after-cve-fix.patch of Package cobbler

From 1917c619b53de0da496fdb697e58cbaad8b1e1d5 Mon Sep 17 00:00:00 2001
From: SchoolGuy <egotthold@suse.de>
Date: Mon, 6 Sep 2021 14:22:43 +0200
Subject: [PATCH] Fix failing test for modify_setting

---
 tests/xmlrpcapi/miscellaneous_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xmlrpcapi/miscellaneous_test.py b/tests/xmlrpcapi/miscellaneous_test.py
index 778b6cad..6e13213f 100644
--- a/tests/xmlrpcapi/miscellaneous_test.py
+++ b/tests/xmlrpcapi/miscellaneous_test.py
@@ -375,7 +375,7 @@ class TestMiscellaneous:
         result = remote.modify_setting("auth_token_expiration", 7200, token)
 
         # Assert
-        assert result == 0
+        assert result == 1
 
     def test_read_autoinstall_template(self, remote, token, create_autoinstall_template, remove_autoinstall_template):
         # Arrange
-- 
2.32.0

openSUSE Build Service is sponsored by