Comments (11)
Sorry, I made a mistake (hence deleted my answers). Let me have a deeper look at it.
from python-mocket.
@mindflayer thank you for the fast reply. Much appreciated. Let me know if you need any help troubleshooting or getting to the root of the issue :)
from python-mocket.
Hi @Veritogen, I spent some time on it but still had no luck. Feel free to investigate further, I'll try to have another look at it in the next few days, in case you don't find anything interesting earlier.
from python-mocket.
I found the problem and I am trying to fix a test that breaks as a drawback. I am positive, btw. :)
from python-mocket.
Still having issues with aiohttp
, a few tests are now broken.
I wonder if @ento could have a look at #226.
For the moment forgetting about the "not closing all the sockets" issue.
from python-mocket.
a test that breaks
A few tests that break, actually. :/
from python-mocket.
Left a comment with my findings in #226 - hope that's useful.
from python-mocket.
Related Issues (20)
- Cannot inject HTTPX client as pytest fixture HOT 9
- Support for `fastapi`.`TestClient` HOT 36
- [mocket-3.10.x] AttributeError: type object 'Mocket' has no attribute '_address' HOT 7
- Support for asyncpg HOT 2
- Server respond first upon client connect HOT 1
- Question / feature request: using truesocket recording mode for an in-process HTTP server HOT 9
- Does not work with urllib3 >= 2.0.0 HOT 7
- Question: function responses and regex HOT 5
- Add type hints to improve codebase readability and enable static type checking HOT 7
- Feature Request / Question - Mocking with proxies HOT 5
- Errors with aiohttp 3.8.6 HOT 5
- Documentation on direct socket mocking? HOT 4
- Async example fails on Python 3.11 when URL is changed to HTTPS HOT 6
- Enable pook for newer Python versions HOT 4
- Can't make a mixture of unmocked and mocked HTTPS requests using aiohttp HOT 1
- Can't make an HTTPS request with 'no verify' mode using aiohttp when Mocket is active HOT 1
- "Too many open files" error when making many mocked async requests HOT 1
- Feature request: allow specifying exceptions to strict mode HOT 2
- Establishing connections against multiple hosts can cause true socket connection to get created against the wrong host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-mocket.