aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-11 21:42:38 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-11 22:35:27 +0100
commit213d61ac7e59b497355d13ab758b2dccd9d57792 (patch)
tree8ab68d5f8674fadfd1e7ef162f7502cdaeba932c /python
parenta414de7b519ce27735b617bd6f0840a10a0bb1c3 (diff)
downloadpaludis-213d61ac7e59b497355d13ab758b2dccd9d57792.tar.gz
paludis-213d61ac7e59b497355d13ab758b2dccd9d57792.tar.xz
Remove stale QA code
Diffstat (limited to 'python')
-rwxr-xr-xpython/repository_TEST.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/python/repository_TEST.py b/python/repository_TEST.py
index 85d82b7e1..3b4519c12 100755
--- a/python/repository_TEST.py
+++ b/python/repository_TEST.py
@@ -122,28 +122,6 @@ class TestCase_02_RepositoryInterfaces(unittest.TestCase):
di = irepo.destination_interface
self.assert_(isinstance(di, RepositoryDestinationInterface))
- def test_12_qa_interface(self):
- if hasattr(paludis, "QAReporter"):
- class PyQAR(QAReporter):
- def __init__(self):
- QAReporter.__init__(self)
- self.messages = 0
-
- def message(self, msg):
- self.messages += 1
-
- def status(self, msg):
- return
-
- qi = repo.qa_interface
- self.assert_(isinstance(qi, RepositoryQAInterface))
-
- qr = PyQAR()
-
- qi.check_qa(qr, QACheckProperties(), QACheckProperties(),
- QAMessageLevel.DEBUG, "repository_TEST_dir/testrepo")
- self.assertEquals(qr.messages > 0, True)
-
class TestCase_03_FakeRepository(unittest.TestCase):
def setUp(self):
global e, f