Skip to content

Commit

Permalink
Remove generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Shirshov committed Jun 24, 2020
1 parent 4a4a2b9 commit ba6d16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-bgpcfgd/tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def run_tests(test_name, template_fname, tests):
params = load_json(param_fname)
raw_generated_result = str(template.render(params))
assert "None" not in raw_generated_result, "Test %s.%s" % (test_name, case_name)
write_result(result_fname, raw_generated_result)
# this is used only for initial generation write_result(result_fname, raw_generated_result)
canonical_generated_result = ConfigMgr.to_canonical(raw_generated_result)
with open(result_fname) as result_fp:
raw_saved_result = result_fp.read()
Expand Down

0 comments on commit ba6d16e

Please sign in to comment.