示例#1
0
def test_parse_istring_is_case_insensitive():
    eq_("bar", parser.parse_istring("foobar", "Foo"))
示例#2
0
def test_parse_istring_passes_if_prefix_is_found():
    eq_("bar", parser.parse_istring("foobar", "foo"))
示例#3
0
def test_parse_istring_raise_if_string_does_not_starts_with():
    parser.parse_istring("foobar", "x")
示例#4
0
def test_parse_istring_is_case_insensitive():
    eq_("bar", parser.parse_istring("foobar", "Foo"))
示例#5
0
def test_parse_istring_passes_if_prefix_is_found():
    eq_("bar", parser.parse_istring("foobar", "foo"))
示例#6
0
def test_parse_istring_raise_if_string_does_not_starts_with():
    parser.parse_istring("foobar", "x")