Esempio n. 1
0
 def test_normalize_special_chars(self):
     assert utils.normalize('éàü@€.txt') == 'eau-eur.txt'
Esempio n. 2
0
 def test_normalize_spaces(self):
     expected = 'test-with-spaces.txt'
     assert utils.normalize('test with  spaces.txt') == expected
Esempio n. 3
0
 def test_normalize_to_lower(self):
     assert utils.normalize('Test.TXT') == 'test.txt'
Esempio n. 4
0
 def test_normalize_no_changes(self):
     assert utils.normalize('test.txt') == 'test.txt'
Esempio n. 5
0
 def test_normalize_special_chars(self):
     assert utils.normalize('éàü@€.txt') == 'eau-eur.txt'
Esempio n. 6
0
 def test_normalize_to_lower(self):
     assert utils.normalize('Test.TXT') == 'test.txt'
Esempio n. 7
0
 def test_normalize_spaces(self):
     expected = 'test-with-spaces.txt'
     assert utils.normalize('test with  spaces.txt') == expected
Esempio n. 8
0
 def test_normalize_no_changes(self):
     assert utils.normalize('test.txt') == 'test.txt'