From c5cf186d187263a9b53ab50860f18845adafd0f5 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Tue, 24 Oct 2017 18:00:47 -0500 Subject: [PATCH] tests/OBSLocal: add workaround for obs.py leakage. --- tests/OBSLocal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/OBSLocal.py b/tests/OBSLocal.py index baf03954..143ffd8e 100644 --- a/tests/OBSLocal.py +++ b/tests/OBSLocal.py @@ -15,6 +15,9 @@ class OBSLocalTestCase(unittest.TestCase): @classmethod def setUpClass(cls): + # TODO #1214: Workaround for tests/obs.py's lack of cleanup. + import httpretty + httpretty.disable() if os.path.exists(OSCRC): os.rename(OSCRC, OSCRC + '.orig') cls.oscrc('Admin')