'Test --basedir.'

@pytest.mark.parametrize('typ', ['config', 'data', 'cache', 'download', pytest.param('runtime', marks=pytest.mark.linux)])
def test_basedir(self, tmpdir, typ):

    expected = str((tmpdir / typ))
    args = types.SimpleNamespace(basedir=str(tmpdir))
    standarddir.init(args)
    func = getattr(standarddir, typ)
    assert (func() == expected)
