def test_path_in_dictionary_several_keys(self): dictionary = {'key':{'key2':'val'}} d = ScheduleActivityTask() assert d.path_in_dictionary(dictionary, 'key.key2')
def test_path_in_dictionary(self): dictionary = {'key':'value'} d = ScheduleActivityTask() assert d.path_in_dictionary(dictionary, 'key') assert not d.path_in_dictionary(dictionary, 'key2')