mirror of
https://github.com/lutris/lutris
synced 2024-10-02 22:14:23 +00:00
Fix tests
This commit is contained in:
parent
facc296014
commit
bb0b483cd0
|
@ -2,6 +2,8 @@
|
|||
Module for deserializing/serializing to and from VDF
|
||||
|
||||
https://github.com/ValvePython/vdf
|
||||
|
||||
MIT License
|
||||
"""
|
||||
# pylint: disable=raise-missing-from
|
||||
|
||||
|
|
|
@ -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())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue