File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import ydb .public .api .protos .draft .fq_pb2 as fq
9
9
import ydb .public .api .protos .ydb_value_pb2 as ydb
10
-
10
+ from google . protobuf . struct_pb2 import NullValue
11
11
12
12
class TestSelect1 (object ):
13
13
@yq_all
@@ -93,11 +93,11 @@ def test_select_pg(self, client):
93
93
94
94
assert len (result_set .rows ) == 1
95
95
assert result_set .rows [0 ].items [0 ].text_value == "{{1,2,3}}"
96
- assert result_set .rows [0 ].items [1 ].WhichOneof ( "value" ) is None
96
+ assert result_set .rows [0 ].items [1 ].null_flag_value == NullValue . NULL_VALUE
97
97
assert result_set .rows [0 ].items [2 ].text_value == "null"
98
98
assert result_set .rows [0 ].items [3 ].text_value == "1"
99
99
assert result_set .rows [0 ].items [4 ].text_value == "t"
100
- assert result_set .rows [0 ].items [5 ].WhichOneof ( "value" ) is None
100
+ assert result_set .rows [0 ].items [5 ].null_flag_value == NullValue . NULL_VALUE
101
101
102
102
@yq_all
103
103
def test_select_10_p_19_plus_1 (self , client ):
You can’t perform that action at this time.
0 commit comments