'Check if upgrading old configs works correctly.'

@pytest.mark.parametrize('filename', os.listdir(os.path.join(os.path.dirname(__file__), 'old_configs')), ids=os.path.basename)
def test_old_config(self, qapp, tmpdir, filename):

    full_path = os.path.join(os.path.dirname(__file__), 'old_configs', filename)
    shutil.copy(full_path, str((tmpdir / 'qutebrowser.conf')))
    conf = config.ConfigManager()
    conf.read(str(tmpdir), 'qutebrowser.conf')
