'Testing whether the process checker returns false when it finds its own pid in the lock file.'

def test_own_pid_in_lock_file(self):

    self.create_lock_file_with_pid(os.getpid())
    process_checker = ProcessChecker(state_directory=self.state_dir)
    self.assertFalse(process_checker.already_running)
