pickle -> yaml rename

This commit is contained in:
Marcus Hoffmann 2020-09-10 15:56:42 +02:00
parent e613b65098
commit 709f4c9b18
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ class MetadataTest(unittest.TestCase):
frommeta = dict(apps[appid])
self.assertTrue(appid in apps)
with open(savepath, 'r') as f:
frompickle = yaml.load(f, Loader=SafeLoader)
self.assertEqual(frommeta, frompickle)
from_yaml = yaml.load(f, Loader=SafeLoader)
self.assertEqual(frommeta, from_yaml)
# comment above assert and uncomment below to update test
# files when new metadata fields are added
# with open(savepath, 'w') as f: