'Test pickle file location when running on Linux'

@mock.patch('os.path.isdir', return_value=True)
@mock.patch('utils.pidfile.PidFile.get_dir', return_value=_linux_run_dir)
@mock.patch('utils.platform.Platform.is_win32', return_value=False)
@mock.patch('utils.platform.Platform.is_mac', return_value=False)
def test_agent_status_pickle_file_linux(self, *mocks):

    expected_path = os.path.join('/opt/datadog-agent/run', 'AgentStatus.pickle')
    self.assertEqual(AgentStatus._get_pickle_path(), expected_path)
