← Back to team overview

touch-packages team mailing list archive

[Bug 1434518] [NEW] test_can_unlock_pin_screen broken under py3

 

Public bug reported:

Revision 1680¹ wrongly removed the py3 compatibility bit, resulting in a
failure in tablet scenario:

Traceback (most recent call last):
  File "/home/michal/dev/canonical/unity8/repo/tests/autopilot/unity8/shell/tests/test_lock_screen.py", line 47, in test_can_unlock_pin_screen
    self._enter_prompt_passphrase("1234\n")
  File "/home/michal/dev/canonical/unity8/repo/tests/autopilot/unity8/shell/tests/test_lock_screen.py", line 138, in _enter_prompt_passphrase
    if not isinstance(passphrase, basestring):
NameError: name 'basestring' is not defined

¹ http://bazaar.launchpad.net/~unity-
team/unity8/trunk/revision/1680#tests/autopilot/unity8/shell/tests/test_lock_screen.py

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: unity8 8.02+15.04.20150318-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
Uname: Linux 3.19.0-9-generic x86_64
ApportVersion: 2.16.2-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Mar 20 12:19:15 2015
SourcePackage: unity8
SystemImageInfo:
 current build number: 0
 device name: 
 channel: daily
 last update: Unknown
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: unity8 (Ubuntu)
     Importance: High
     Assignee: Leo Arias (elopio)
         Status: Triaged


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1434518

Title:
  test_can_unlock_pin_screen broken under py3

Status in unity8 package in Ubuntu:
  Triaged

Bug description:
  Revision 1680¹ wrongly removed the py3 compatibility bit, resulting in
  a failure in tablet scenario:

  Traceback (most recent call last):
    File "/home/michal/dev/canonical/unity8/repo/tests/autopilot/unity8/shell/tests/test_lock_screen.py", line 47, in test_can_unlock_pin_screen
      self._enter_prompt_passphrase("1234\n")
    File "/home/michal/dev/canonical/unity8/repo/tests/autopilot/unity8/shell/tests/test_lock_screen.py", line 138, in _enter_prompt_passphrase
      if not isinstance(passphrase, basestring):
  NameError: name 'basestring' is not defined

  ¹ http://bazaar.launchpad.net/~unity-
  team/unity8/trunk/revision/1680#tests/autopilot/unity8/shell/tests/test_lock_screen.py

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: unity8 8.02+15.04.20150318-0ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
  Uname: Linux 3.19.0-9-generic x86_64
  ApportVersion: 2.16.2-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Mar 20 12:19:15 2015
  SourcePackage: unity8
  SystemImageInfo:
   current build number: 0
   device name: 
   channel: daily
   last update: Unknown
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1434518/+subscriptions


Follow ups

References