on xenial help sign in
Use the right py3 binary.
commita7772976230c95d650ae65b03d6cf1edc877f942 authorLeo Arias <leo.arias@canonical.com> dateMon 23 Feb 2015, 11:35 (12 years ago) parentea25363
1 file changed+1−1
tests/autopilot/unity8/shell/tests/test_notifications.py+1−1
tests/autopilot/unity8/shell/tests/test_notifications.py+1−1
@@ -330,7 +330,7 @@ class InteractiveNotificationBase(NotificationsBase):
330330 action_string = "%s,%s" % (action_id, action_label)
331331 script_args.extend(['--action', action_string])
332332
333− python_bin = subprocess.check_output(['which', 'python']).strip()
333+ python_bin = subprocess.check_output(['which', 'python3']).strip()
334334 command = [python_bin, self._get_notify_script()] + script_args
335335 logger.info("Launching snap-decision notification as: %s", command)
336336 self._notify_proc = subprocess.Popen(