Delete the Mocked pyanaconda.product to fix product tests.
Since anaconda modules are such a tangle, running one of the earlier tests
causes pyanaconda.product to get imported early. On that import, it gets
created as a Mock object, so the later import doesn't do anything useful and
all the product tests will therefore fail. If we delete and then re-import,
everything will work.
This is only seen if you run everything in tests/, not if you just run the
product_test.py by itself.
---
tests/pyanaconda_test/product_test.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/pyanaconda_test/product_test.py b/tests/pyanaconda_test/product_test.py
index 5be51d3..9fd37a5 100644
--- a/tests/pyanaconda_test/product_test.py
+++ b/tests/pyanaconda_test/product_test.py
@@ -50,31 +50,37 @@ class ProductTest(mock.TestCase):