def test_init_constructs_with_switch_and_conditionset_forms(self): manager = SwitchFormManager(sentinel.switch, sentinel.conditionset) eq_(manager.switch, sentinel.switch) eq_(manager.conditions, sentinel.conditionset)
def manager(self): return SwitchFormManager(MagicMock(), MagicMock())