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