• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mindflayer / python-mocket / 7782363019

05 Feb 2024 09:35AM UTC coverage: 98.668%. Remained the same
7782363019

push

github

web-flow
Merge pull request #222 from ento/true-socket-host-and-port

When creating true socket connection, use host and port stored in instance variables, not in the Mocket class's variable

1 of 1 new or added line in 1 file covered. (100.0%)

815 of 826 relevant lines covered (98.67%)

5.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/mocket/async_mocket.py
1
from .mocket import Mocketizer
6✔
2
from .utils import get_mocketize
6✔
3

4

5
async def wrapper(
6✔
6
    test, truesocket_recording_dir=None, strict_mode=False, *args, **kwargs
7
):
8
    async with Mocketizer.factory(test, truesocket_recording_dir, strict_mode, args):
6✔
9
        return await test(*args, **kwargs)
6✔
10

11

12
async_mocketize = get_mocketize(wrapper_=wrapper)
6✔
13

14

15
__all__ = ("async_mocketize",)
6✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc