File: test_pipe.py

package info (click to toggle)
python-aiostream 0.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 368 kB
  • sloc: python: 2,445; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 278 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from aiostream import stream, pipe


def test_pipe_module():
    for name in dir(stream):
        obj = getattr(stream, name)
        pipe_method = getattr(obj, "pipe", None)
        if pipe_method is None:
            continue
        assert getattr(pipe, name) == pipe_method