1
0
Fork 0
mirror of synced 2024-06-26 18:10:26 +12:00

file_name_formatter: added tests (#227)

This commit is contained in:
Ali Parlakci 2021-03-30 10:42:15 +03:00
parent a32dd6d0fe
commit 0fe28deee9

View file

@ -159,6 +159,7 @@ def test_limit_filename_length(test_filename: str, test_ending: str):
@pytest.mark.parametrize(('test_filename', 'test_ending', 'expected_end'), (
('test_aaaaaa', '_1.png', 'test_aaaaaa_1.png'),
('test_aataaa', '_1.png', 'test_aataaa_1.png'),
('test_aaaaaa', '.png', 'test_aaaaaa.png'),
('test', '_1.png', 'test_1.png'),
('test_m1hqw6', '_1.png', 'test_m1hqw6_1.png'),