Blame SOURCES/0017-Fix-the-number-of-expected-results-in-the-fix-file-t.patch

f3fa67
From bfcf6c0ebe7522cdc7e0c4e3aee695752ea3f489 Mon Sep 17 00:00:00 2001
f3fa67
From: root <root@ipa.example.test>
f3fa67
Date: Thu, 7 Oct 2021 18:14:03 -0400
f3fa67
Subject: [PATCH] Fix the number of expected results in the fix file test
f3fa67
f3fa67
---
f3fa67
 tests/test_core_files.py | 2 +-
f3fa67
 1 file changed, 1 insertion(+), 1 deletion(-)
f3fa67
f3fa67
diff --git a/tests/test_core_files.py b/tests/test_core_files.py
f3fa67
index a4f25ac..8257f40 100644
f3fa67
--- a/tests/test_core_files.py
f3fa67
+++ b/tests/test_core_files.py
f3fa67
@@ -118,7 +118,7 @@ def test_files_not_found(mock_exists):
f3fa67
 
f3fa67
     for type in ('mode', 'group', 'owner'):
f3fa67
         my_results = get_results(results, type)
f3fa67
-        assert len(my_results.results) == 4
f3fa67
+        assert len(my_results.results) == 2
f3fa67
         for result in my_results.results:
f3fa67
             assert result.result == constants.SUCCESS
f3fa67
             assert result.kw.get('msg') == 'File does not exist'
f3fa67
-- 
f3fa67
2.27.0
f3fa67