コード例 #1
0
 def test_remove_multiple_spaces(self):
     output = table.split_cell_values("test   cell ")
     self.assertIn("test ", output)
     self.assertIn("cell", output)
コード例 #2
0
 def test_strip_value(self):
     output = table.split_cell_values("test cell ")
     self.assertIn("test ", output)
     self.assertIn("cell", output)
コード例 #3
0
 def test_remove_newlines(self):
     output = table.split_cell_values("test\ncell")
     self.assertIn("test ", output)
     self.assertIn("cell", output)
コード例 #4
0
ファイル: table_test.py プロジェクト: annegentle/wadl2rst
 def test_remove_multiple_spaces(self):
     output = table.split_cell_values("test   cell ")
     self.assertIn("test ", output)
     self.assertIn("cell", output)
コード例 #5
0
ファイル: table_test.py プロジェクト: annegentle/wadl2rst
 def test_strip_value(self):
     output = table.split_cell_values("test cell ")
     self.assertIn("test ", output)
     self.assertIn("cell", output)
コード例 #6
0
ファイル: table_test.py プロジェクト: annegentle/wadl2rst
 def test_remove_newlines(self):
     output = table.split_cell_values("test\ncell")
     self.assertIn("test ", output)
     self.assertIn("cell", output)