(self)
| 855 | self.yaml.representer.default_flow_style = False |
| 856 | |
| 857 | def test_dump_to_str(self): |
| 858 | obj = {'A': 1, 'parameter': "something"} |
| 859 | expected_result = "A: 1\nparameter: something\n" |
| 860 | result = dump_yaml_to_str(self.yaml, obj) |
| 861 | self.assertEqual(result, expected_result) |
| 862 | |
| 863 | |
| 864 | @pytest.fixture |
nothing calls this directly
no test coverage detected