예제 #1
0
 def test_string_from_path(self):
     self.assertEqual('qwe,asd,100',
                      string_from_path(["qwe", "asd", 100]))
     self.assertEqual('', string_from_path([]))
     self.assertEqual('', string_from_path(None))
예제 #2
0
파일: test_cells.py 프로젝트: wxiang7/cubes
 def test_string_from_path(self):
     self.assertEqual('qwe,asd,100', string_from_path(["qwe", "asd", 100]))
     self.assertEqual('', string_from_path([]))
     self.assertEqual('', string_from_path(None))
예제 #3
0
 def test_special_characters(self):
     self.assertEqual('\\:q\\-we,a\\\\sd\\;,100',
                      string_from_path([":q-we", "a\\sd;", 100]))
예제 #4
0
파일: test_cells.py 프로젝트: wxiang7/cubes
 def test_special_characters(self):
     self.assertEqual('\\:q\\-we,a\\\\sd\\;,100',
                      string_from_path([":q-we", "a\\sd;", 100]))