def test_make_namespace_path(self):
        # create a new namespace path (returning the leaf namespace)
        unique_ns = str(uuid.uuid4())
        path = "test/%s/foo" % unique_ns
        result = make_namespace_path(path, 'flimp-test', 'For the purposes of'
                                ' testing flimp')
        self.assertEqual(path, result.path)
        # try to create an existing namespace path (just return the leaf)
        result = make_namespace(path, 'flimp-test', 'For the purposes of'
                                ' testing flimp')
        self.assertEqual(path, result.path)
        # be a good citizen an tidy up the mess
        result.delete()
        ns = Namespace("test/%s" % unique_ns)
        ns.delete()
dataset/ETHPy150Open fluidinfo/flimp/tests/test_utils.py/TestUtils.test_make_namespace_path/original