'The path name returned by C{mktemp} is directly beneath a directory
which identifies the test method which created the name.'

def test_name(self):

    name = self.mktemp()
    dirs = os.path.dirname(name).split(os.sep)[:(-1)]
    self.assertEqual(dirs, ['twisted.trial.test.test_util', 'MktempTests', 'test_name'])
