[Reportbug-commits] [reportbug] 02/11: test: don't assert that unstable version is strictly greater than stable
Sandro Tosi
morph at moszumanska.debian.org
Sun Jan 26 19:45:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 98b39c24b5c4e369b875f84e9affa0f451258052
Author: Julien Cristau <jcristau at debian.org>
Date: Thu May 9 20:53:07 2013 +0200
test: don't assert that unstable version is strictly greater than stable
---
test/test_checkversions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test_checkversions.py b/test/test_checkversions.py
index 1577ee0..27ba052 100644
--- a/test/test_checkversions.py
+++ b/test/test_checkversions.py
@@ -76,7 +76,7 @@ class TestVersionAvailable(unittest2.TestCase):
vers = checkversions.get_versions_available('reportbug', 60)
# check stable version is lower than unstable
chk = checkversions.compare_versions(vers['stable'], vers['unstable'])
- self.assertEqual(chk, 1)
+ self.assertGreaterEqual(chk, 0)
@attr('network') #marking the test as using network
def test_bts649649(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