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

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