[Reportbug-commits] [reportbug] 02/03: set dep on python-debianbts to the version implementing the paged access to BTS; Closes: #796759
Sandro Tosi
morph at moszumanska.debian.org
Sat Aug 29 20:49:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 0896c1d900605a2ac139502affe4c51e9e13429e
Author: Sandro Tosi <morph at debian.org>
Date: Sat Aug 29 21:47:57 2015 +0100
set dep on python-debianbts to the version implementing the paged access to BTS; Closes: #796759
---
debian/changelog | 5 ++++-
debian/control | 2 +-
test/test_debbugs.py | 8 ++++++++
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2271241..40cb991 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,11 @@ reportbug (6.6.5) UNRELEASED; urgency=medium
* reportbug/debbugs.py
- use 'ANY' as an alias for "all architectures" when requesting a binNMU;
thanks to Mehdi for report and patch; Closes: #795687
+ * debian/control
+ - set dep on python-debianbts to the version implementing the paged access
+ to BTS; Closes: #796759
- -- Sandro Tosi <morph at debian.org> Sun, 16 Aug 2015 15:33:12 +0100
+ -- Sandro Tosi <morph at debian.org> Sat, 29 Aug 2015 21:46:46 +0100
reportbug (6.6.4) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 6603b2b..20802f9 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,7 @@ Description: reports bugs in the Debian distribution
Package: python-reportbug
Section: python
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, apt, python-debian, python-debianbts
+Depends: ${misc:Depends}, ${python:Depends}, apt, python-debian, python-debianbts (>= 1.13)
Suggests: reportbug
Description: Python modules for interacting with bug tracking systems
reportbug is a tool designed to make the reporting of bugs in Debian
diff --git a/test/test_debbugs.py b/test/test_debbugs.py
index 787adc6..9d0f3e1 100644
--- a/test/test_debbugs.py
+++ b/test/test_debbugs.py
@@ -166,6 +166,14 @@ class TestGetReports(unittest2.TestCase):
buginfo, bodies = debbugs.get_report(503300, 120)
self.assertGreater(len(bodies), 0)
+ @attr('network') #marking the test as using network
+ def test_bts796759(self):
+
+ # verify accessing WNPP happens correctly, now that BTS
+ # access has to be done in batches
+ data = debbugs.get_reports('wnpp', 120, source=True)
+ self.assertGreater(data[0], 0)
+
class TestUrlFunctions(unittest2.TestCase):
def test_cgi_report_url(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git
More information about the Reportbug-commits
mailing list