summaryrefslogtreecommitdiff
path: root/tests/src/test-python-greeter
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test-python-greeter')
-rwxr-xr-xtests/src/test-python-greeter17
1 files changed, 7 insertions, 10 deletions
diff --git a/tests/src/test-python-greeter b/tests/src/test-python-greeter
index 18385817..cb1f2080 100755
--- a/tests/src/test-python-greeter
+++ b/tests/src/test-python-greeter
@@ -200,17 +200,14 @@ def notify_hints (greeter):
status_notify ('%s SHOW-MANUAL-LOGIN-HINT' % greeter_id)
if not greeter.get_show_remote_login_hint ():
status_notify ('%s SHOW-REMOTE-LOGIN-HINT=FALSE' % greeter_id)
- timeout = greeter.get_autologin_timeout_hint ()
if greeter.get_autologin_user_hint () is not None:
- if timeout != 0:
- status_notify ('%s AUTOLOGIN-USER USERNAME=%s TIMEOUT=%d' % (greeter_id, greeter.get_autologin_user_hint (), timeout))
- else:
- status_notify ('%s AUTOLOGIN-USER USERNAME=%s' % (greeter_id, greeter.get_autologin_user_hint ()))
- elif greeter.get_autologin_guest_hint ():
- if timeout != 0:
- status_notify ('%s AUTOLOGIN-GUEST TIMEOUT=%d' % (greeter_id, timeout))
- else:
- status_notify ('%s AUTOLOGIN-GUEST' % greeter_id)
+ status_notify ('%s AUTOLOGIN-USER-HINT=%s' % (greeter_id, greeter.get_autologin_user_hint ()))
+ if greeter.get_autologin_session_hint () is not None:
+ status_notify ('%s AUTOLOGIN-SESSION-HINT=%s' % (greeter_id, greeter.get_autologin_session_hint ()))
+ if greeter.get_autologin_guest_hint ():
+ status_notify ('%s AUTOLOGIN-GUEST-HINT' % greeter_id)
+ if greeter.get_autologin_timeout_hint () != 0:
+ status_notify ('%s AUTOLOGIN-TIMEOUT-HINT=%s' % (greeter_id, greeter.get_autologin_timeout_hint ()))
path = os.getenv ('LIGHTDM_TEST_ROOT') + '/.s'
status_socket = socket.socket (socket.AF_UNIX, socket.SOCK_STREAM)