def test_default_timeout(monkeypatch, fake_response, aqhttp):
    """Timeout should default to aqhttp.TIMEOUT is timeout is absent from
    aqhttp.post."""

    # A fake requests sessions object
    class mock_request:
        @staticmethod
        def request(method, path, timeout=None, **kwargs):
            assert timeout == aqhttp.TIMEOUT
            return fake_response(method, path, {}, 200)

    monkeypatch.setattr("pydent.aqhttp.requests", mock_request)
    aqhttp.post("someurl", json_data={})