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()))
Exemple #2
0
 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)
Exemple #3
0
 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)
Exemple #4
0
 def test_docstring(self):
     docstring = create_docstring(
         'Table',
         self.data['props'],
         self.data['description'],
     )
     prohibit_events(self.data['props']),
     assert_docstring(self.assertEqual, docstring)
Exemple #5
0
 def test_docstring(self):
     docstring = create_docstring(
         'Table',
         self.data['props'],
         self.data['description'],
     )
     prohibit_events(self.data['props']),
     assert_docstring(self.assertEqual, docstring)