pickle -> yaml rename
This commit is contained in:
parent
e613b65098
commit
709f4c9b18
|
@ -140,8 +140,8 @@ class MetadataTest(unittest.TestCase):
|
||||||
frommeta = dict(apps[appid])
|
frommeta = dict(apps[appid])
|
||||||
self.assertTrue(appid in apps)
|
self.assertTrue(appid in apps)
|
||||||
with open(savepath, 'r') as f:
|
with open(savepath, 'r') as f:
|
||||||
frompickle = yaml.load(f, Loader=SafeLoader)
|
from_yaml = yaml.load(f, Loader=SafeLoader)
|
||||||
self.assertEqual(frommeta, frompickle)
|
self.assertEqual(frommeta, from_yaml)
|
||||||
# comment above assert and uncomment below to update test
|
# comment above assert and uncomment below to update test
|
||||||
# files when new metadata fields are added
|
# files when new metadata fields are added
|
||||||
# with open(savepath, 'w') as f:
|
# with open(savepath, 'w') as f:
|
||||||
|
|
Loading…
Reference in New Issue