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