Coding style.
- Tools should return a status and a text string, not a status and a fill3 widget.
This commit is contained in:
parent
8eff1d5a0f
commit
9b5ad3332e
25 changed files with 246 additions and 243 deletions
|
|
@ -64,7 +64,7 @@ class ToolsTestCase(unittest.TestCase):
|
|||
with self.subTest(input_filename=input_filename):
|
||||
status, result = run_tool(tool, input_filename)
|
||||
golden_path = result_path(tool, input_filename)
|
||||
golden.assertGolden(widget_to_string(result), golden_path)
|
||||
golden.assertGolden(str(result), golden_path)
|
||||
self.assertEqual(status, expected_status)
|
||||
|
||||
def test_metadata(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue