def test_add_suffix_to_filename_in_path():

    _filename = '/foo/bar/test.csv'
    _expected = '/foo/bar/test_suf.csv'

    assert _expected == fs.add_suffix(_filename, "_suf")
dataset/ETHPy150Open chaosmail/python-fs/fs/tests/test_add_suffix.py/test_add_suffix_to_filename_in_path/original