Created by: zeffii
updating tests
@DolphinDream please "squash and merge" PR in the future. Github reset that option a while back, next time you commit a PR make sure it is set to squash and merge, and that's what it will do in future.
note to self. quick recreation of json test
import bpy
import sverchok
import json
from sverchok.utils.testing import *
from sverchok.utils.sv_IO_panel_tools import create_dict_of_tree
tree = bpy.data.node_groups['NodeTree']
node = create_node("SvTorusNodeMK2", tree.name)
node.mode = "MAJOR_MINOR"
node.Separate = 0
node.torus_eR = 1.2799999713897705
node.torus_R = 1.0299999713897705
node.torus_r = 0.25
node.torus_iR = 0.7799999713897705
node.torus_n1 = 33
node.torus_n2 = 17
node.torus_rP = 0.029999999329447746
node.torus_sP = 0.029999999329447746
node.torus_sT = 1
export_result = create_dict_of_tree(tree)
string_json = json.dumps(export_result)
text = bpy.data.texts.get('torus.json')
text.from_string(string_json)