File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1515import json
1616import os
1717
18- from api .py .ai .chronon .api import ttypes
1918import pytest
2019
2120import ai .chronon .api .ttypes as api
@@ -393,9 +392,9 @@ def test_get_dependencies_with_events(query_with_partition_column: Query):
393392 assert dep ["spec" ] == expected_spec
394393
395394def test_is_valid_ttype_enum_value_valid ():
396- assert utils .is_valid_ttype_enum_value (ttypes .Accuracy .TEMPORAL , ttypes .Accuracy )
397- assert utils .is_valid_ttype_enum_value (ttypes .Accuracy .SNAPSHOT , ttypes .Accuracy )
395+ assert utils .is_valid_ttype_enum_value (api .Accuracy .TEMPORAL , api .Accuracy )
396+ assert utils .is_valid_ttype_enum_value (api .Accuracy .SNAPSHOT , api .Accuracy )
398397
399398def test_is_valid_ttype_enum_value_invalid ():
400- assert not utils .is_valid_ttype_enum_value (- 1 , ttypes .Accuracy )
401- assert not utils .is_valid_ttype_enum_value (100 , ttypes .Accuracy )
399+ assert not utils .is_valid_ttype_enum_value (- 1 , api .Accuracy )
400+ assert not utils .is_valid_ttype_enum_value (100 , api .Accuracy )
You can’t perform that action at this time.
0 commit comments