

def test_generate(self):
    template = TEMPLATE[0]
    root_namespace = Namespace('test')
    name = str(uuid.uuid4())
    tags = {
        
    }
    generate(root_namespace, name, template, 'flimp unit-test suite', 'flimp-test', tags)
    self.assertEqual(4, len(tags))
    self.assertTrue((('test/%s/foo' % name) in tags))
    self.assertTrue((('test/%s/baz/qux' % name) in tags))
    self.assertTrue((('test/%s/quux' % name) in tags))
    self.assertTrue((('test/%s/corge' % name) in tags))

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