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
AFAICT, the actual command line tool doesn't run build_module_as_str. Nor does pytest.
(I tried putting an assert False in there and nothing has triggered it yet).
In #41, I'm adding build_module_as_yaml_str, which is similarly untested.
I guess the command line tool should run these classmethods intead, except they are designed to return strings and the command-line tool is based on streams.
The text was updated successfully, but these errors were encountered:
Hi, thank you for your analysis. Yes, you are right... the commandline tool should use the classmethod instead of calling json.dump(build_module, output_stream, indent=4).
AFAICT, the actual command line tool doesn't run
build_module_as_str
. Nor doespytest
.(I tried putting an
assert False
in there and nothing has triggered it yet).In #41, I'm adding
build_module_as_yaml_str
, which is similarly untested.I guess the command line tool should run these classmethods intead, except they are designed to return strings and the command-line tool is based on streams.
The text was updated successfully, but these errors were encountered: