| Conditions | 3 |
| Total Lines | 6 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import os |
||
| 24 | def test_macro_expansion(): |
||
| 25 | incomplete_defs = get_definitions_with_substitution() |
||
| 26 | assert incomplete_defs["expand_to_global_var"]() == "" |
||
| 27 | |||
| 28 | complete_defs = get_definitions_with_substitution(dict(global_var="value")) |
||
| 29 | assert complete_defs["expand_to_global_var"]() == "value" |
||
| 30 |