

def test_get_values(self):
    item = TEMPLATE[0]
    result = get_values(item, 'test/flimp/test')
    self.assertEqual(4, len(result))
    self.assertTrue(('test/flimp/test/foo' in result))
    self.assertTrue(('test/flimp/test/baz/qux' in result))
    self.assertTrue(('test/flimp/test/quux' in result))
    self.assertTrue(('test/flimp/test/corge' in result))
    self.assertEqual(item['foo'], result['test/flimp/test/foo'])
    self.assertEqual(item['baz']['qux'], result['test/flimp/test/baz/qux'])
    self.assertEqual(item['quux'], result['test/flimp/test/quux'])
    self.assertEqual(item['corge'], result['test/flimp/test/corge'])

dataset/ETHPy150Open fluidinfo/flimp/tests/test_utils.py TestUtils.test_get_values/original