MCPcopy
hub / github.com/geldata/gel / test_http_notebook_01

Method test_http_notebook_01

tests/test_http_notebook.py:55–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 return resp_data
54
55 def test_http_notebook_01(self):
56 results = self.run_queries([
57 'SELECT 1',
58 'SELECT "AAAA"',
59 ])
60
61 self.assert_data_shape(
62 results,
63 {
64 'kind': 'results',
65 'results': [
66 {
67 'kind': 'data',
68 'data': [
69 str,
70 str,
71 'RAAAABIAAQAAAAgAAAAAAAAAAQ==',
72 str,
73 ]
74 },
75 {
76 'kind': 'data',
77 'data': [
78 str,
79 str,
80 'RAAAAA4AAQAAAARBQUFB',
81 str,
82 ]
83 },
84 ]
85 }
86 )
87
88 def test_http_notebook_02(self):
89 results = self.run_queries([

Callers

nothing calls this directly

Calls 2

run_queriesMethod · 0.95
assert_data_shapeMethod · 0.80

Tested by

no test coverage detected