Fix tests

This commit is contained in:
Mathieu Comandon 2022-03-15 21:14:31 -07:00
parent facc296014
commit bb0b483cd0
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
Module for deserializing/serializing to and from VDF
https://github.com/ValvePython/vdf
MIT License
"""
# pylint: disable=raise-missing-from

View file

@ -3,7 +3,7 @@ from collections import OrderedDict
from unittest import TestCase
from lutris.util import fileio, strings, system
from lutris.util.steam import vdf
from lutris.util.steam import vdfutils
class TestFileUtils(TestCase):
@ -56,7 +56,7 @@ class TestSteamUtils(TestCase):
\t"StateFlags"\t\t"4"
\t"appID"\t\t"13240"
}"""
vdf_data = vdf.to_vdf(dict_data)
vdf_data = vdfutils.to_vdf(dict_data)
self.assertEqual(vdf_data.strip(), expected_vdf.strip())