summaryrefslogtreecommitdiff
path: root/tests/test_progress.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-06 10:35:57 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-06 10:35:57 +0200
commite94861e437dc544da9bf4a0161a25dedafd93f34 (patch)
tree96fa478e75636b8842a95b3fe849029076b58e5d /tests/test_progress.py
parent12ba28e618916bdb418d7e0ed2c8e368ead7e625 (diff)
downloadpython-apt-e94861e437dc544da9bf4a0161a25dedafd93f34.tar.gz
* python/progress.cc:
- deal with missing return value from the acquire progress in pulse()
Diffstat (limited to 'tests/test_progress.py')
-rw-r--r--tests/test_progress.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_progress.py b/tests/test_progress.py
index 2ab8ce5e..ffab5bc0 100644
--- a/tests/test_progress.py
+++ b/tests/test_progress.py
@@ -15,6 +15,9 @@ import os
class TestAcquireProgress(apt.progress.base.AcquireProgress):
def pulse(self, owner):
self.pulsed = True
+ # there should be a return value here, either (True,False)
+ # but often this is forgoten (and causes odd error messages)
+ # so the lib supports it. we test the lack of support value here
class TestProgress(unittest.TestCase):