Commits

Mikhail Korobov committed 7be3dfd

Debian Lenny doesn't like underscores in usernames

  • Participants
  • Parent commits 326d128

Comments (0)

Files changed (1)

File fab_deploy_tests/tests/utils_tests.py

         self.assertEqual(user, 'root')
 
     def test_create_sudo_linux_account(self):
-        fab(create_sudo_linux_account, public_key_path(), 'test_sudo')
+        fab(create_sudo_linux_account, public_key_path(), 'testsudo')
 
-        @run_as('test_sudo')
+        @run_as('testsudo')
         def whoami():
             return run('whoami')
 
         user = fab(whoami)[0]
-        self.assertEqual(user, 'test_sudo')
+        self.assertEqual(user, 'testsudo')
 
-        @run_as('test_sudo')
+        @run_as('testsudo')
         def test_sudo():
             return run('sudo aptitude update')