'If a value is specified for the I{temp-directory} option,
L{trial.Options.coverdir} returns a child of that path.'

def test_coverdirOverridden(self):

    path = self.mktemp()
    options = trial.Options()
    options.parseOptions(['--temp-directory', path])
    self.assertEqual(options.coverdir(), FilePath(path).child('coverage'))
