Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/c/a/cablemap-HEAD/cablemap.core/tests/test_reader_tags.py   cablemap(Download)
"""
from nose.tools import eq_
from cablemap.core.reader import parse_tags
 
_TEST_DATA = (
    def check(content, expected):
        eq_(expected, parse_tags(content))
    for content, expected in _TEST_DATA:
        yield check, content, expected
 
    def check(content, expected):
        eq_(expected, parse_tags(content, canonicalize=False))
    for content, expected in _TEST_DATA_NO_C14N:
        yield check, content, expected