'Test dirs with XDG_*_HOME not set.'

@pytest.mark.parametrize('func,    subdirs', [(standarddir.data, ['.local', 'share', 'qute_test']), (standarddir.config, ['.config', 'qute_test']), (standarddir.cache, ['.cache', 'qute_test']), (standarddir.download, ['Downloads'])])
@pytest.mark.linux
def test_linux_normal(self, monkeypatch, tmpdir, func, subdirs):

    monkeypatch.setenv('HOME', str(tmpdir))
    for var in ['DATA', 'CONFIG', 'CACHE']:
        monkeypatch.delenv('XDG_{}_HOME'.format(var), raising=False)
    assert (func() == str(tmpdir.join(*subdirs)))
