From e645cf39f6bd8936ded87a53ceacde5dad45df95 Mon Sep 17 00:00:00 2001 From: Aashish Chaudhary Date: Sat, 28 May 2016 04:33:32 -0400 Subject: [PATCH] Using more generic name for testing --- testing/vcs/test_vcs_dump_json.json | 26 +++++++++++++------------- testing/vcs/test_vcs_dump_json.py | 26 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/testing/vcs/test_vcs_dump_json.json b/testing/vcs/test_vcs_dump_json.json index b79b1319c3..c60c501286 100644 --- a/testing/vcs/test_vcs_dump_json.json +++ b/testing/vcs/test_vcs_dump_json.json @@ -1,6 +1,6 @@ { "G1d": { - "Charles.Doutriaux": { + "vcs_instance": { "colormap": null, "datawc_calendar": 135441, "datawc_timeunits": "days since 2000", @@ -29,7 +29,7 @@ } }, "Gfb": { - "Charles.Doutriaux": { + "vcs_instance": { "boxfill_type": "linear", "color_1": 16, "color_2": 239, @@ -70,7 +70,7 @@ } }, "Gfi": { - "Charles.Doutriaux": { + "vcs_instance": { "colormap": null, "datawc_calendar": 135441, "datawc_timeunits": "days since 2000", @@ -110,7 +110,7 @@ } }, "Gfm": { - "Charles.Doutriaux": { + "vcs_instance": { "colormap": null, "datawc_calendar": 135441, "datawc_timeunits": "days since 2000", @@ -153,7 +153,7 @@ } }, "Gi": { - "Charles.Doutriaux": { + "vcs_instance": { "angle": [ 35.0 ], @@ -211,7 +211,7 @@ } }, "P": { - "Charles.Doutriaux": { + "vcs_instance": { "box1": { "line": "default", "priority": 1, @@ -579,7 +579,7 @@ } }, "Proj": { - "Charles.Doutriaux": { + "vcs_instance": { "parameters": [ 1e+20, 1e+20, @@ -601,7 +601,7 @@ } }, "Tf": { - "Charles.Doutriaux": { + "vcs_instance": { "color": [ 1 ], @@ -632,7 +632,7 @@ } }, "Tl": { - "Charles.Doutriaux": { + "vcs_instance": { "color": [ 1 ], @@ -662,7 +662,7 @@ } }, "Tm": { - "Charles.Doutriaux": { + "vcs_instance": { "color": [ 1 ], @@ -691,7 +691,7 @@ } }, "To": { - "Charles.Doutriaux": { + "vcs_instance": { "angle": 0, "halign": 0, "height": 14, @@ -700,7 +700,7 @@ } }, "Tt": { - "Charles.Doutriaux": { + "vcs_instance": { "backgroundcolor": 0, "backgroundopacity": 0, "color": 1, @@ -730,4 +730,4 @@ "y": null } } -} \ No newline at end of file +} diff --git a/testing/vcs/test_vcs_dump_json.py b/testing/vcs/test_vcs_dump_json.py index aca6215b89..9247b2d385 100644 --- a/testing/vcs/test_vcs_dump_json.py +++ b/testing/vcs/test_vcs_dump_json.py @@ -1,33 +1,33 @@ import filecmp import vcs,numpy,os,sys -src=sys.argv[1] +src = sys.argv[1] if os.path.exists("test_vcs_dump_json.json"): os.remove("test_vcs_dump_json.json") -b = vcs.createboxfill("Charles.Doutriaux") +b = vcs.createboxfill("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createisofill("Charles.Doutriaux") +b = vcs.createisofill("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createisoline("Charles.Doutriaux") +b = vcs.createisoline("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createmeshfill("Charles.Doutriaux") +b = vcs.createmeshfill("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.create1d("Charles.Doutriaux") +b = vcs.create1d("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createfillarea("Charles.Doutriaux") +b = vcs.createfillarea("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createtext("Charles.Doutriaux") +b = vcs.createtext("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createline("Charles.Doutriaux") +b = vcs.createline("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createmarker("Charles.Doutriaux") +b = vcs.createmarker("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createtemplate("Charles.Doutriaux") +b = vcs.createtemplate("vcs_instance") b.script("test_vcs_dump_json","a") -b = vcs.createprojection("Charles.Doutriaux") +b = vcs.createprojection("vcs_instance") b.script("test_vcs_dump_json","a") -assert(filecmp.cmp("test_vcs_dump_json.json",src)) +assert(filecmp.cmp("test_vcs_dump_json.json", src))