def test_docstring(load_test_metadata_json): docstring = create_docstring( "Table", load_test_metadata_json["props"], load_test_metadata_json["description"], ) prohibit_events(load_test_metadata_json["props"]), assert not list(unified_diff(expected_table_component_doc, docstring.splitlines()))
def test_docstring(self): docstring = create_docstring( 'Flow_component', self.data['props'], self.data['description'], ) prohibit_events(self.data['props']), assert_flow_docstring(self.assertEqual, docstring)
def test_docstring(self): docstring = create_docstring( 'Table', self.data['props'], self.data['description'], ) prohibit_events(self.data['props']), assert_docstring(self.assertEqual, docstring)