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

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