From e5c42858c351468d3099a91c9ac2a866a582388c Mon Sep 17 00:00:00 2001
From: Varun Mylaraiah <mvarun@redhat.com>
Date: Mon, 24 Feb 2020 19:10:36 +0530
Subject: [PATCH] ipatests: Added check that no Traceback found in idviews
 operations

Signed-off-by: Varun Mylaraiah <mvarun@redhat.com>
---
 ipatests/test_integration/test_idviews.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ipatests/test_integration/test_idviews.py b/ipatests/test_integration/test_idviews.py
index 6ede4d034f..43752f195b 100644
--- a/ipatests/test_integration/test_idviews.py
+++ b/ipatests/test_integration/test_idviews.py
@@ -28,6 +28,9 @@ class TestCertsInIDOverrides(IntegrationTest):
     def uninstall(cls, mh):
         super(TestCertsInIDOverrides, cls).uninstall(mh)
         cls.master.run_command(['rm', '-rf', cls.reqdir], raiseonerr=False)
+        # Checking Traceback https://pagure.io/freeipa/issue/7958
+        http_logs = cls.master.get_file_contents(paths.VAR_LOG_HTTPD_ERROR)
+        assert 'Traceback' not in http_logs
 
     @classmethod
     def install(cls, mh):
