Ubuntu Pastebin

Paste from barry at Wed, 18 Mar 2015 18:13:40 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
=== modified file 'debian/tests/ubuntu_ota_tests/reactors.py'
--- debian/tests/ubuntu_ota_tests/reactors.py	2015-03-17 11:52:35 +0000
+++ debian/tests/ubuntu_ota_tests/reactors.py	2015-03-18 18:05:37 +0000
@@ -66,12 +66,16 @@
 
 class ApplyUpdateReactor(BaseReactor):
     def __init__(self, iface):
-        super().__init__(iface.ApplyUpdate, 'Rebooting')
+        super().__init__(iface.ApplyUpdate, 'Applied', 'Rebooting')
 
     def _do_Rebooting(self, signal, path, *args):
         self.signals.append(RebootingRecord(*args))
         self.quit()
 
+    def _do_Applied(self, signal, path, *args):
+        self.signals.append(RebootingRecord(*args))
+        self.quit()
+
 
 class DownloadReactor(BaseReactor):
 
Download as text