B t]@s>ddlmZddlmZddlZddlZGdddejZdS))Mock)utilsNc@seZdZddZdS) TestLogHelpercCslt}tjdi|d|t}tjd||dt|jdd}|d|d|i|ddS)NZtest_url)putdataZFAILEDZStatusData)rrZ_send_responseZassert_called_oncejsonloads call_argsZ assertEqual)selfpresponser4/tmp/pip-build-0limmi1x/crhelper/tests/test_utils.pytest_send_response sz TestLogHelper.test_send_responseN)__name__ __module__ __qualname__rrrrrrsr)Z unittest.mockrZcrhelperrZunittestr ZTestCaserrrrrs