def test_strip_prefix_from_string_only_if_it_exists(): assert strip_prefix('baz', 'foobar') == 'foobar'
def test_strip_prefix_from_string(): assert strip_prefix('foo', 'foobar') == 'bar'