Ejemplo n.º 1
0
def test_parse_string_is_case_sensitive():
    parser.parse_string("foobar", "Foo")
Ejemplo n.º 2
0
def test_parse_string_passes_if_prefix_is_found():
    eq_("bar", parser.parse_string("foobar", "foo"))
Ejemplo n.º 3
0
def test_parse_string_raise_if_string_does_not_starts_with():
    parser.parse_string("foobar", "x")
Ejemplo n.º 4
0
def test_parse_string_is_case_sensitive():
    parser.parse_string("foobar", "Foo")
Ejemplo n.º 5
0
def test_parse_string_passes_if_prefix_is_found():
    eq_("bar", parser.parse_string("foobar", "foo"))
Ejemplo n.º 6
0
def test_parse_string_raise_if_string_does_not_starts_with():
    parser.parse_string("foobar", "x")