Commit 59a74671 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

tests: make sure we work around...

tests: make sure we work around https://bitbucket.org/zzzeek/sqlalchemy/issues/4289/automatic-index-name-hash-collision


Fix is in tshistory.
parent fc9c57de0d85
......@@ -49,6 +49,15 @@ def test_mercure_serie(engine, tsh):
""", pd.read_sql('select * from tsh.changeset_series', engine))
def test_long_name(engine, tsh):
serie = genserie(datetime(2010, 1, 1), 'D', 40)
name = 'gas.lng.country.trinidad_and_tobago.net_imports.daily'
with engine.connect() as cn:
tsh.insert(cn, serie, name, 'celeste')
def test_differential(engine, tsh):
ts_begin = genserie(datetime(2010, 1, 1), 'D', 10)
tsh.insert(engine, ts_begin, 'ts_test', 'test')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment