()
| 520 | |
| 521 | |
| 522 | def test_items_mapping(): |
| 523 | dishes = pm.eval("({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})") |
| 524 | items = dishes.items() |
| 525 | assert str(items.mapping) == "{'eggs': 2.0, 'sausage': 1.0, 'bacon': 1.0, 'spam': 500.0}" |
| 526 | assert items.mapping['spam'] == 500 |
| 527 | |
| 528 | # get method |
| 529 |
nothing calls this directly
no outgoing calls
no test coverage detected