on xenial help sign in
Fixed the check for string in the lock screen test. Fixes: #1434518

Approved by: Albert Astals Cid

commite11f9d8cbd8ab616d07bc2d8a2eee6c1f8e4fd5b authorLeo Arias <leo.arias@canonical.com> dateThu 9 Apr 2015, 13:59 (12 years ago) parent2bcb8e9cba979f
1 file changed+1−1
tests/autopilot/unity8/shell/tests/test_lock_screen.py+1−1
tests/autopilot/unity8/shell/tests/test_lock_screen.py+1−1
@@ -135,7 +135,7 @@ class TestLockscreen(UnityTestCase):
135135 :raises: TypeError if passphrase is not a string.
136136
137137 """
138− if not isinstance(passphrase, basestring):
138+ if not isinstance(passphrase, str):
139139 raise TypeError(
140140 "'passphrase' parameter must be a string, not %r."
141141 % type(passphrase)