~ken-vandine/ubuntu-system-settings/no_s_i_d

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_system_settings/tests/test_security.py

  • Committer: Bileto Bot
  • Author(s): Ken VanDine
  • Date: 2016-07-22 14:38:13 UTC
  • mfrom: (1556.3.32 slotsLayout)
  • Revision ID: ci-train-bot@canonical.com-20160722143813-ht9e4766lm0ie5fa
Ported to use Slots layout and updated visuals (LP: #1596529)

Approved by: Jonas G. Drange

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
 
# Copyright 2014 Canonical
 
2
# Copyright 2014-2016 Canonical
3
3
#
4
4
# This program is free software: you can redistribute it and/or modify it
5
5
# under the terms of the GNU General Public License version 3, as published
199
199
        elif actTimeout is 60:
200
200
            self.assertEquals(
201
201
                activityTimeout,
202
 
                ('{:d} minute').format(int(actTimeout/60))
 
202
                ('After {:d} minute').format(int(actTimeout/60))
203
203
            )
204
204
        else:
205
205
            self.assertEquals(
206
206
                activityTimeout,
207
 
                ('{:d} minutes').format(int(actTimeout/60))
 
207
                ('After {:d} minutes').format(int(actTimeout/60))
208
208
            )
209
209
 
210
210
    def test_idle_never_timeout(self):