Skip to content

Commit

Permalink
test(py): extend var and param filter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
w4bremer committed Jun 7, 2023
1 parent 7d8ef50 commit 78f8d6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/gen/filters/filterpy/py_param_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ func TestParam(t *testing.T) {
{"test", "Test1", "propFloat32Array", "prop_float32_array: list[float32]"},
{"test", "Test1", "propFloat64Array", "prop_float64_array: list[float64]"},
{"test", "Test1", "propStringArray", "prop_string_array: list[str]"},
{"test", "Test1", "prop_Bool", "prop_bool: bool"},
{"test", "Test1", "prop_bool", "prop_bool: bool"},
{"test", "Test1", "prop_1", "prop_1: bool"},
}
syss := loadTestSystems(t)
for _, sys := range syss {
Expand Down
3 changes: 3 additions & 0 deletions pkg/gen/filters/filterpy/py_var_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ func TestVar(t *testing.T) {
{"test", "Test1", "propFloat32Array", "prop_float32_array"},
{"test", "Test1", "propFloat64Array", "prop_float64_array"},
{"test", "Test1", "propStringArray", "prop_string_array"},
{"test", "Test1", "prop_Bool", "prop_bool"},
{"test", "Test1", "prop_bool", "prop_bool"},
{"test", "Test1", "prop_1", "prop_1"},
}
for _, sys := range syss {
for _, tt := range propTests {
Expand Down

0 comments on commit 78f8d6b

Please sign in to comment.