[Piuparts-commits] [piuparts] 01/01: test_config.py: update for Jessie being stable and Stretch being the new testing suite.
Holger Levsen
holger at moszumanska.debian.org
Sun Apr 26 10:51:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 93d6e03d45c6cd8eb01b8155aae691520b9a8e34
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Apr 26 12:51:20 2015 +0200
test_config.py: update for Jessie being stable and Stretch being the new testing suite.
---
debian/changelog | 2 ++
tests/test_config.py | 9 ++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4cba010..427a2d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -64,6 +64,8 @@ piuparts (0.63) UNRELEASED; urgency=medium
running.
* Use "autopep8 --max-line-length=160" to re-format all .py files, then also
use "-a" on a 2nd run.
+ * test_config.py: update for Jessie being stable and Stretch being the new
+ testing suite.
-- Andreas Beckmann <anbe at debian.org> Wed, 03 Dec 2014 20:36:30 +0100
diff --git a/tests/test_config.py b/tests/test_config.py
index bfbe889..17b704c 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -17,9 +17,9 @@ class ConfStdDistroTests(unittest.TestCase):
self.experimental = 'experimental'
def testConfStdDistroNames(self):
- self.assertEqual(self.oldstable, 'squeeze')
- self.assertEqual(self.stable, 'wheezy')
- self.assertEqual(self.testing, 'jessie')
+ self.assertEqual(self.oldstable, 'wheezy')
+ self.assertEqual(self.stable, 'jessie')
+ self.assertEqual(self.testing, 'stretch')
self.assertEqual(self.unstable, 'sid')
self.assertEqual(self.experimental, 'experimental')
@@ -62,6 +62,9 @@ class ConfStdDistroTests(unittest.TestCase):
self.assertEqual(
self.cobj._map_distro('Debian8.1'),
self.cobj._map_distro('jessie'))
+ self.assertEqual(
+ self.cobj._map_distro('Debian9'),
+ self.cobj._map_distro('stretch'))
def testConfGetStdDistro(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list