示例#1
0
 def test_restart_and_return_with_message(self):
   self.mock(subprocess, 'check_call', lambda _: None)
   self.assertIs(True, os_utilities.restart_and_return(message='Boo'))
示例#2
0
 def test_restart_and_return_with_message(self):
     self.mock(subprocess, 'check_call', lambda _: None)
     self.assertIs(True, os_utilities.restart_and_return(message='Boo'))
示例#3
0
 def test_restart_and_return(self):
   self.mock(subprocess, 'check_call', lambda _: None)
   self.assertIs(True, os_utilities.restart_and_return())
示例#4
0
 def test_restart_and_return(self):
     self.mock(subprocess, 'check_call', lambda _: None)
     self.assertIs(True, os_utilities.restart_and_return())