def test_from_str_nameerror(self): with pytest.raises(NameError): PathSeperators.from_str("NO SUCH NAME")
def test_from_str(self, input, output): assert output == PathSeperators.from_str(input)