(self)
| 86 | ) |
| 87 | |
| 88 | def test_http_notebook_02(self): |
| 89 | results = self.run_queries([ |
| 90 | 'SELECT 1', |
| 91 | 'SELECT "AAAA" * 1', |
| 92 | 'SELECT 55', |
| 93 | ]) |
| 94 | |
| 95 | self.assert_data_shape( |
| 96 | results, |
| 97 | { |
| 98 | 'kind': 'results', |
| 99 | 'results': [ |
| 100 | { |
| 101 | 'kind': 'data', |
| 102 | 'data': [ |
| 103 | str, |
| 104 | str, |
| 105 | 'RAAAABIAAQAAAAgAAAAAAAAAAQ==', |
| 106 | str, |
| 107 | ] |
| 108 | }, |
| 109 | { |
| 110 | 'kind': 'error', |
| 111 | 'error': [ |
| 112 | 'InvalidTypeError', |
| 113 | "operator '*' cannot be applied to operands " |
| 114 | "of type 'std::str' and 'std::int64'", |
| 115 | { |
| 116 | '65523': '1', |
| 117 | '65524': '8', |
| 118 | '65521': '7', |
| 119 | '65522': '17', |
| 120 | '65525': '7', |
| 121 | '65526': '1', |
| 122 | '65527': '18', |
| 123 | '65528': '17', |
| 124 | '65529': '7', |
| 125 | '65530': '17', |
| 126 | '1': 'Consider using an explicit type ' |
| 127 | 'cast or a conversion function.' |
| 128 | } |
| 129 | ] |
| 130 | } |
| 131 | ] |
| 132 | } |
| 133 | ) |
| 134 | |
| 135 | def test_http_notebook_03(self): |
| 136 | results = self.run_queries([ |
nothing calls this directly
no test coverage detected