Merge ~enr0n/ubiquity:lp2022965-jammy into ubiquity:jammy

Proposed by Nick Rosbrook
Status: Merged
Merged at revision: 5b8c940543a46838c5fe887df027c0b2ab4cd582
Proposed branch: ~enr0n/ubiquity:lp2022965-jammy
Merge into: ubiquity:jammy
Diff against target: 32 lines (+5/-1)
2 files modified
debian/changelog (+4/-0)
tests/test_timezone.py (+1/-1)
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Review via email: mp+444123@code.launchpad.net

Description of the change

Fix test_city_entry unit test following tzdata changes.

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index b59f019..28296af 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,10 +1,14 @@
6 ubiquity (22.04.20) UNRELEASED; urgency=medium
7
8+ [ Steve Langasek ]
9 * Whenever removing packages, use apt-get autoremove --purge instead of
10 apt-get purge so that no-longer-used dependencies are removed together
11 with the package in question, and we do not leave behind any packages
12 that will be reported as autoremovable later. LP: #1925265.
13
14+ [ Nick Rosbrook ]
15+ * tests: modify test_city_entry to adapt to tzdata update (LP: #2022965)
16+
17 -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 14 Apr 2023 11:34:25 -0700
18
19 ubiquity (22.04.19) jammy; urgency=medium
20diff --git a/tests/test_timezone.py b/tests/test_timezone.py
21index b6d4664..d41e59a 100644
22--- a/tests/test_timezone.py
23+++ b/tests/test_timezone.py
24@@ -52,7 +52,7 @@ class TimezoneTests(unittest.TestCase):
25 self.gtk.changed(self.gtk.city_entry)
26 m = self.gtk.city_entry.get_completion().get_model()
27 results = []
28- expected = (('Eastern', 'United States'), ('Eastern', 'Bahamas'))
29+ expected = (('Eastern', 'United States'), ('Eastern', 'Canada'))
30 for x in m:
31 results.append((x[0], x[2]))
32 self.assertEqual(

Subscribers

People subscribed via source and target branches