()
| 22 | |
| 23 | @pytest.fixture |
| 24 | def component_written_class(): |
| 25 | path = os.path.join(_dir, "metadata_required_test.json") |
| 26 | with open(path) as data_file: |
| 27 | json_string = data_file.read() |
| 28 | required_data = json.JSONDecoder(object_pairs_hook=OrderedDict).decode( |
| 29 | json_string |
| 30 | ) |
| 31 | |
| 32 | return generate_class( |
| 33 | typename="TableRequired", |
| 34 | props=required_data["props"], |
| 35 | description=required_data["description"], |
| 36 | namespace="TableComponents", |
| 37 | ) |
| 38 | |
| 39 | |
| 40 | def test_to_plotly_json(component_class): |
no test coverage detected
searching dependent graphs…