on xenial help sign in
Use the right py3 binary.
a777297Leo Arias
tests/autopilot/unity8/shell/tests/test_notifications.py+1−1
@@ -330,7 +330,7 @@ class InteractiveNotificationBase(NotificationsBase):
330 action_string = "%s,%s" % (action_id, action_label)
330 action_string = "%s,%s" % (action_id, action_label)
331 script_args.extend(['--action', action_string])
331 script_args.extend(['--action', action_string])
332
332
333− python_bin = subprocess.check_output(['which', 'python']).strip()
333+ python_bin = subprocess.check_output(['which', 'python3']).strip()
334 command = [python_bin, self._get_notify_script()] + script_args
334 command = [python_bin, self._get_notify_script()] + script_args
335 logger.info("Launching snap-decision notification as: %s", command)
335 logger.info("Launching snap-decision notification as: %s", command)
336 self._notify_proc = subprocess.Popen(
336 self._notify_proc = subprocess.Popen(