Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pony
tshistory_supervision
Commits
e56fbde1165b
Commit
edab6730
authored
Jun 22, 2018
by
Aurélien Campéas
Browse files
adjust to tshistory (name -> seriename)
parent
6514e0cc7508
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_supervision.py
View file @
e56fbde1
...
...
@@ -39,13 +39,13 @@ def test_mercure_serie(engine, tsh):
assert
3
==
len
(
s
)
assert_df
(
"""
id
name
table_name
0 1
42 tsh.timeserie.
42
"""
,
pd
.
read_sql
(
'select id, name, table_name from tsh.registry'
,
engine
))
id
seriename
table_name
0 1
42
42
"""
,
pd
.
read_sql
(
'select id,
serie
name, table_name from tsh.registry'
,
engine
))
assert_df
(
"""
cset serie
0 1
42
cset
serie
0 1
1
"""
,
pd
.
read_sql
(
'select * from tsh.changeset_series'
,
engine
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment