Skip to content

Commit e645cf3

Browse files
committed
Using more generic name for testing
1 parent c8befa3 commit e645cf3

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

testing/vcs/test_vcs_dump_json.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"G1d": {
3-
"Charles.Doutriaux": {
3+
"vcs_instance": {
44
"colormap": null,
55
"datawc_calendar": 135441,
66
"datawc_timeunits": "days since 2000",
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"Gfb": {
32-
"Charles.Doutriaux": {
32+
"vcs_instance": {
3333
"boxfill_type": "linear",
3434
"color_1": 16,
3535
"color_2": 239,
@@ -70,7 +70,7 @@
7070
}
7171
},
7272
"Gfi": {
73-
"Charles.Doutriaux": {
73+
"vcs_instance": {
7474
"colormap": null,
7575
"datawc_calendar": 135441,
7676
"datawc_timeunits": "days since 2000",
@@ -110,7 +110,7 @@
110110
}
111111
},
112112
"Gfm": {
113-
"Charles.Doutriaux": {
113+
"vcs_instance": {
114114
"colormap": null,
115115
"datawc_calendar": 135441,
116116
"datawc_timeunits": "days since 2000",
@@ -153,7 +153,7 @@
153153
}
154154
},
155155
"Gi": {
156-
"Charles.Doutriaux": {
156+
"vcs_instance": {
157157
"angle": [
158158
35.0
159159
],
@@ -211,7 +211,7 @@
211211
}
212212
},
213213
"P": {
214-
"Charles.Doutriaux": {
214+
"vcs_instance": {
215215
"box1": {
216216
"line": "default",
217217
"priority": 1,
@@ -579,7 +579,7 @@
579579
}
580580
},
581581
"Proj": {
582-
"Charles.Doutriaux": {
582+
"vcs_instance": {
583583
"parameters": [
584584
1e+20,
585585
1e+20,
@@ -601,7 +601,7 @@
601601
}
602602
},
603603
"Tf": {
604-
"Charles.Doutriaux": {
604+
"vcs_instance": {
605605
"color": [
606606
1
607607
],
@@ -632,7 +632,7 @@
632632
}
633633
},
634634
"Tl": {
635-
"Charles.Doutriaux": {
635+
"vcs_instance": {
636636
"color": [
637637
1
638638
],
@@ -662,7 +662,7 @@
662662
}
663663
},
664664
"Tm": {
665-
"Charles.Doutriaux": {
665+
"vcs_instance": {
666666
"color": [
667667
1
668668
],
@@ -691,7 +691,7 @@
691691
}
692692
},
693693
"To": {
694-
"Charles.Doutriaux": {
694+
"vcs_instance": {
695695
"angle": 0,
696696
"halign": 0,
697697
"height": 14,
@@ -700,7 +700,7 @@
700700
}
701701
},
702702
"Tt": {
703-
"Charles.Doutriaux": {
703+
"vcs_instance": {
704704
"backgroundcolor": 0,
705705
"backgroundopacity": 0,
706706
"color": 1,
@@ -730,4 +730,4 @@
730730
"y": null
731731
}
732732
}
733-
}
733+
}

testing/vcs/test_vcs_dump_json.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11

22
import filecmp
33
import vcs,numpy,os,sys
4-
src=sys.argv[1]
4+
src = sys.argv[1]
55
if os.path.exists("test_vcs_dump_json.json"):
66
os.remove("test_vcs_dump_json.json")
77

8-
b = vcs.createboxfill("Charles.Doutriaux")
8+
b = vcs.createboxfill("vcs_instance")
99
b.script("test_vcs_dump_json","a")
10-
b = vcs.createisofill("Charles.Doutriaux")
10+
b = vcs.createisofill("vcs_instance")
1111
b.script("test_vcs_dump_json","a")
12-
b = vcs.createisoline("Charles.Doutriaux")
12+
b = vcs.createisoline("vcs_instance")
1313
b.script("test_vcs_dump_json","a")
14-
b = vcs.createmeshfill("Charles.Doutriaux")
14+
b = vcs.createmeshfill("vcs_instance")
1515
b.script("test_vcs_dump_json","a")
16-
b = vcs.create1d("Charles.Doutriaux")
16+
b = vcs.create1d("vcs_instance")
1717
b.script("test_vcs_dump_json","a")
18-
b = vcs.createfillarea("Charles.Doutriaux")
18+
b = vcs.createfillarea("vcs_instance")
1919
b.script("test_vcs_dump_json","a")
20-
b = vcs.createtext("Charles.Doutriaux")
20+
b = vcs.createtext("vcs_instance")
2121
b.script("test_vcs_dump_json","a")
22-
b = vcs.createline("Charles.Doutriaux")
22+
b = vcs.createline("vcs_instance")
2323
b.script("test_vcs_dump_json","a")
24-
b = vcs.createmarker("Charles.Doutriaux")
24+
b = vcs.createmarker("vcs_instance")
2525
b.script("test_vcs_dump_json","a")
26-
b = vcs.createtemplate("Charles.Doutriaux")
26+
b = vcs.createtemplate("vcs_instance")
2727
b.script("test_vcs_dump_json","a")
28-
b = vcs.createprojection("Charles.Doutriaux")
28+
b = vcs.createprojection("vcs_instance")
2929
b.script("test_vcs_dump_json","a")
3030

31-
assert(filecmp.cmp("test_vcs_dump_json.json",src))
31+
assert(filecmp.cmp("test_vcs_dump_json.json", src))
3232

3333

0 commit comments

Comments
 (0)