Test generating a simple object structure.
()
| 4 | |
| 5 | |
| 6 | def test_generate_simple_structure(): |
| 7 | """Test generating a simple object structure.""" |
| 8 | schema = { |
| 9 | "name": "name of the person", |
| 10 | "age": "age of the person", |
| 11 | "occupation": "job description of the person" |
| 12 | } |
| 13 | |
| 14 | result = generate_structure(schema) |
| 15 | |
| 16 | assert "name: <name of the person>" in result |
| 17 | assert "age: <age of the person>" in result |
| 18 | assert "occupation: <job description of the person>" in result |
| 19 | |
| 20 | |
| 21 | def test_generate_nested_structure(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…