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

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