Blame SOURCES/0216-reportclient-fix-verbosity-test.patch

28bab8
From 10fb97f11e27c4ac2144005f0ac28b8beff14733 Mon Sep 17 00:00:00 2001
28bab8
From: Matej Habrnal <mhabrnal@redhat.com>
28bab8
Date: Wed, 8 Feb 2017 14:50:49 +0100
28bab8
Subject: [PATCH] reportclient: fix verbosity test
28bab8
28bab8
Imported missing report module.
28bab8
28bab8
Related #1257159
28bab8
28bab8
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
28bab8
---
28bab8
 tests/client_python.at | 4 ++++
28bab8
 1 file changed, 4 insertions(+)
28bab8
28bab8
diff --git a/tests/client_python.at b/tests/client_python.at
28bab8
index 656b1b2..9f1c1c1 100644
28bab8
--- a/tests/client_python.at
28bab8
+++ b/tests/client_python.at
28bab8
@@ -13,7 +13,11 @@ import unittest
28bab8
 
28bab8
 sys.path.insert(0, "../../../src/client-python")
28bab8
 sys.path.insert(0, "../../../src/client-python/.libs")
28bab8
+sys.path.insert(0, "../../../src/report-python")
28bab8
+sys.path.insert(0, "../../../src/report-python/.libs")
28bab8
 
28bab8
+report = __import__("report-python", globals(), locals(), [], -1)
28bab8
+sys.modules["report"] = report
28bab8
 
28bab8
 class TestReportClientVerbose(unittest.TestCase):
28bab8
     def setUp(self):
28bab8
-- 
28bab8
1.8.3.1
28bab8