mirror of
https://github.com/hanzo-ds/driver.git
synced 2026-10-30 20:32:40 +00:00
11 lines
357 B
Python
11 lines
357 B
Python
from clickhouse_driver.columns.util import get_inner_spec
|
|
from tests.testcase import BaseTestCase
|
|
|
|
|
|
class UtilTestCase(BaseTestCase):
|
|
def test_get_inner_spec(self):
|
|
inner = 'a Tuple(Array(Int8), Array(Int64)), b Nullable(String)'
|
|
self.assertEqual(
|
|
get_inner_spec('Nested', 'Nested({}) dummy '.format(inner)), inner
|
|
)
|