Git Product home page Git Product logo

Comments (5)

oschwald avatar oschwald commented on June 12, 2024 1

I looked into this more, and it turns out there was a bug in our test suite where we were returning the text "null" on 204s. The new version of llhttp in aiohttp was stricter about this. I apologize for the noise. Thanks for taking a look!

from python-mocket.

mindflayer avatar mindflayer commented on June 12, 2024

Hi @oschwald,
I've just run twice the whole test-suite and it worked like a charm.
I'll have a look at your specific error, anyway.

[...]

---------- coverage: platform linux, python 3.11.4-final-0 -----------
Name                                   Stmts   Miss  Cover   Missing
--------------------------------------------------------------------
mocket/__init__.py                         4      0   100%
mocket/async_mocket.py                     7      0   100%
mocket/compat.py                          18      0   100%
mocket/exceptions.py                       4      0   100%
mocket/mocket.py                         432     13    97%   103-105, 134, 216, 231-236, 251, 344, 487
mocket/mockhttp.py                       149      1    99%   69
mocket/mockredis.py                       52      0   100%
mocket/plugins/__init__.py                 0      0   100%
mocket/plugins/httpretty/__init__.py      66      0   100%
mocket/plugins/httpretty/core.py           2      0   100%
mocket/plugins/pook_mock_engine.py        47     45     4%   5-76
mocket/utils.py                           26      0   100%
--------------------------------------------------------------------
TOTAL                                    807     59    93%

=============================== 155 passed, 1 xpassed, 3 warnings in 10.85s ===============================

(.venv) ~/r/python-mocket (master|✔) $ pip freeze | grep aiohttp
aiohttp==3.8.6

from python-mocket.

mindflayer avatar mindflayer commented on June 12, 2024

A possible culprit could be aio-libs/aiohttp#7336
Let me know if tests are passing with the rest of the Python versions >=3.8.

from python-mocket.

oschwald avatar oschwald commented on June 12, 2024

from python-mocket.

mindflayer avatar mindflayer commented on June 12, 2024

I am sorry I did not notice the version from your first message logs. I was focusing on the pipeline you linked.
If you manage to write down a snippet which fails that way, I'll definitely look into it.

from python-mocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.