Ubuntu Pastebin

Paste from robie at Wed, 26 Jul 2017 23:26:07 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/gitubuntu/versioning.py b/gitubuntu/versioning.py
index ad88cee..92ad883 100644
--- a/gitubuntu/versioning.py
+++ b/gitubuntu/versioning.py
@@ -205,6 +205,8 @@ def test_next_development_version(test_input, expected):
     ([], '16.04', '1.0-1ubuntu1', ['1.0-1ubuntu1'], '1.0-1ubuntu1.16.04.1'),
     (['1.0-1ubuntu1'], '16.04', '1.0-1ubuntu1', ['1.0.1-ubuntu1'], '1.0-1ubuntu1.16.04.1'),
     (['1.0-1ubuntu1'], '16.04', '1.0-1ubuntu1', ['1.0.1-ubuntu2'], '1.0-1ubuntu1.16.04.1'),
+    (['1.0-1ubuntu1.14.04.1'], '16.04', '1.0-1ubuntu1.16.04.1', ['1.01-ubuntu1.17.10.1'], '1.01-1ubuntu1.16.04.2'),
+    (['1.0-1ubuntu1.14.04.1'], '16.04', '1.0-1ubuntu1', ['1.01-ubuntu1'], '1.01-1ubuntu1.16.04.1'),
 ])
 def test_next_sru_version(before, series, current, after, expected):
     assert _next_sru_version(
Download as text