コード例 #1
0
ファイル: test_cells.py プロジェクト: AndrzejR/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))
コード例 #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
ファイル: test_cells.py プロジェクト: AndrzejR/cubes
 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]))