tests: another fix for older dch
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 25 Apr 2013 09:23:47 +0000 (12:23 +0300)
committerGuido Günther <agx@sigxcpu.org>
Thu, 25 Apr 2013 19:01:14 +0000 (21:01 +0200)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
tests/test_Changelog.py

index 0c84480..4e7017f 100644 (file)
@@ -255,8 +255,8 @@ def test_add_section():
     '0.5.33'
     >>> cl.debian_version
     '0.5.33'
-    >>> cl['Distribution']
-    'UNRELEASED'
+    >>> cl['Distribution'] in ['UNRELEASED', 'unstable']
+    True
     >>> 'Test add section' in cl['Changes']
     True
     >>> os.chdir(olddir)
@@ -298,8 +298,8 @@ def test_add_entry():
     '0.5.33'
     >>> cl.debian_version
     '0.5.33'
-    >>> cl['Distribution']
-    'UNRELEASED'
+    >>> cl['Distribution'] in ['UNRELEASED', 'unstable']
+    True
     >>> 'Test add entry' in cl['Changes']
     True
     >>> os.chdir(olddir)