Closed sgillis closed 10 years ago
Introduced a new parameter in the SwitchContextManager to pass a dictionary with switches. This enables the user to set more complicated switches in unittests, e.g.: parent:child.
parent:child
You can just do:
@switches(**{'parent:child': True})
Introduced a new parameter in the SwitchContextManager to pass a dictionary with switches. This enables the user to set more complicated switches in unittests, e.g.:
parent:child
.