Exemplo n.º 1
0
 def test_resource_name_does_not_recurse_infinitely3(self):
     self.assertEqual('', about.resource_name(' / '))
Exemplo n.º 2
0
 def test_resource_name4(self):
     self.assertEqual(r'\\', about.resource_name(r'%6571351()275612$/_$asafg:/\\'))
Exemplo n.º 3
0
 def test_resource_name5(self):
     self.assertEqual('_$asafg:', about.resource_name('%6571351()2/75612$/_$asafg:'))
Exemplo n.º 4
0
 def test_resource_name2(self):
     self.assertEqual(r'things\first', about.resource_name(r'c:\some/things\first'))
Exemplo n.º 5
0
 def test_resource_name3(self):
     self.assertEqual('first', about.resource_name(r'some\thi ngs//first'))
Exemplo n.º 6
0
 def test_resource_name_does_not_recurse_infinitely2(self):
     self.assertEqual("", about.resource_name("/  /  "))
Exemplo n.º 7
0
 def test_resource_name1(self):
     self.assertEqual('first', about.resource_name('some/things/first/'))
Exemplo n.º 8
0
 def test_resource_name5(self):
     self.assertEqual("_$asafg:", about.resource_name("%6571351()2/75612$/_$asafg:"))
Exemplo n.º 9
0
 def test_resource_name4(self):
     self.assertEqual(r"\\", about.resource_name(r"%6571351()275612$/_$asafg:/\\"))
Exemplo n.º 10
0
 def test_resource_name3(self):
     self.assertEqual("first", about.resource_name(r"some\thi ngs//first"))
Exemplo n.º 11
0
 def test_resource_name2(self):
     self.assertEqual(r"things\first", about.resource_name(r"c:\some/things\first"))
Exemplo n.º 12
0
 def test_resource_name1(self):
     self.assertEqual("first", about.resource_name("some/things/first/"))