'Test transform() with relative dir and an available configdir.'

def test_transform_relative(self, klass, os_mock, monkeypatch):

    os_mock.path.isabs.return_value = False
    monkeypatch.setattr('qutebrowser.config.configtypes.standarddir.config', (lambda : '/configdir'))
    expected = self._expected(klass, '/configdir/foo')
    assert (klass().transform('foo') == expected)
