~didrocks/ubiquity/intall-metrics

« back to all changes in this revision

Viewing changes to tests/test_usersetup.py

  • Committer: Jean-Baptiste Lallement
  • Date: 2018-02-28 14:58:37 UTC
  • mfrom: (6588.1.3 ubiquity)
  • Revision ID: jean-baptiste.lallement@ubuntu.com-20180228145837-abkjlk4vvb92o1gs
Remove the encrypted userdir option from the gtk installer since
ecryptfs is going to move to universe. The keep the base code in case 
the option is added back later using another technology. Thanks seb128!

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        self.gtk.info_loop(self.gtk.fullname)
107
107
        self.gtk.info_loop(self.gtk.username)
108
108
 
109
 
    def test_on_authentication_toggled(self):
110
 
        self.gtk.login_encrypt.set_active(True)
111
 
        self.gtk.login_auto.set_active(True)
112
 
        self.gtk.on_authentication_toggled(self.gtk.login_auto)
113
 
        self.assertFalse(self.gtk.login_encrypt.get_active())
114
 
 
115
 
        self.gtk.login_auto.set_active(True)
116
 
        self.gtk.login_encrypt.set_active(True)
117
 
        self.gtk.on_authentication_toggled(self.gtk.login_encrypt)
118
 
        self.assertTrue(self.gtk.login_pass.get_active())
119
 
 
120
109
    def test_default_username(self):
121
110
        self.gtk.controller.get_string = mock_get_string
122
111
        self.gtk.set_fullname('Example Person')