You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the tests so that I could run them interactively and test things.
Now I can no longer do that. Can you please replace the way I had it so that I can run them interactively?
Before:
mport pytest
import yacman
import os
# for interactive testing, run from within code/yacman
def test_yaml_load():
conf = yacman.load_yaml("conf.yaml")
yacmap = yacman.YacAttMap("conf.yaml")
yacmap2 = yacman.YacAttMap(conf)
Can run this no problem
After:
import pytest
In [4]: import pytest
In [5]: import yacman
In [6]: import os
In [7]: yacmap = yacman.YacAttMap(filepath=cfg_file, writable=True)
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-7-f12aa010db02> in <module>
----> 1 yacmap = yacman.YacAttMap(filepath=cfg_file, writable=True)
NameError: name 'cfg_file' is not defined
Can no longer easily get a testing environment where I can just load up a yacman for example interactive exploring.
The text was updated successfully, but these errors were encountered:
I had the tests so that I could run them interactively and test things.
Now I can no longer do that. Can you please replace the way I had it so that I can run them interactively?
Before:
Can run this no problem
After:
Can no longer easily get a testing environment where I can just load up a yacman for example interactive exploring.
The text was updated successfully, but these errors were encountered: