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

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