Lines Matching refs:__pid_filename
32 __pid_filename = os.path.join(tempfile.gettempdir(), 'test_utils.pid')
42 os.remove(self.__pid_filename)
52 utils.write_pid_file(self.__pid_filename)
53 self.assertTrue(os.path.exists(self.__pid_filename))
59 pid = utils.read_pid_file(self.__pid_filename)
66 utils.write_pid_file(self.__pid_filename)
67 pid = utils.read_pid_file(self.__pid_filename)
73 utils.write_pid_file(self.__pid_filename)
74 self.assertTrue(os.path.exists(self.__pid_filename))
75 utils.remove_pid_file(self.__pid_filename)
76 self.assertFalse(os.path.exists(self.__pid_filename))