Skip to content

Commit

Permalink
existing tests refactored and passing
Browse files Browse the repository at this point in the history
  • Loading branch information
R7L208 committed Jul 8, 2024
1 parent f6f3520 commit a46dd39
Showing 1 changed file with 35 additions and 12 deletions.
47 changes: 35 additions & 12 deletions python/tests/unit_test_data/tsdf_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,31 @@
"$ref": "#/__SharedData/temp_slice_init_data"
}
},
"test__validate_ts_string_valid": {
"init": {
"$ref": "#/__SharedData/temp_slice_init_data"
}
},
"test__validate_ts_string_alt_format_valid": {
"init": {
"$ref": "#/__SharedData/temp_slice_init_data"
}
},
"test__validate_ts_string_with_microseconds_valid": {
"init": {
"$ref": "#/__SharedData/temp_slice_init_data"
}
},
"test__validate_ts_string_alt_format_with_microseconds_valid": {
"init": {
"$ref": "#/__SharedData/temp_slice_init_data"
}
},
"test__validate_ts_string_invalid": {
"init": {
"$ref": "#/__SharedData/temp_slice_init_data"
}
},
"test__validated_column_not_string": {
"init": {
"$ref": "#/__SharedData/temp_slice_init_data"
Expand Down Expand Up @@ -138,19 +163,17 @@
"symbol"
]
},
"schema": "symbol string, event_ts int, trade_pr float",
"ts_convert": [
"event_ts"
],
"data": [
[
"S1",
1596240010,
349.21
"df": {
"schema": "symbol string, event_ts int, trade_pr float",
"data": [
[
"S1",
1596240010,
349.21
]
]
]
}
}
}
},
"test__addPrefixToColumns_non_empty_string": {
"init": {
Expand Down Expand Up @@ -949,7 +972,7 @@
},
"df": {
"schema": "symbol string, event_ts string, trade_pr float",
"ts_col": [
"ts_convert": [
"event_ts"
],
"data": [
Expand Down

0 comments on commit a46dd39

Please sign in to comment.