File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def get_latest_release():
45
45
46
46
# Temporary fix because can't start 0.203
47
47
# Use get_latest_release() instead
48
- PRESTO_VERSION = os .environ .get ("PRESTO_VERSION" ) or "0.202"
48
+ PRESTO_VERSION = os .environ .get ("PRESTO_VERSION" ) or get_latest_release ()
49
49
PRESTO_HOST = "127.0.0.1"
50
50
PRESTO_PORT = 8080
51
51
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def test_select_query(presto_connection):
48
48
assert len (rows ) > 0
49
49
row = rows [0 ]
50
50
assert row [0 ] == "test"
51
- assert row [2 ] == fixtures .PRESTO_VERSION
51
+ assert row [2 ]. split ( "-" )[ 0 ] == fixtures .PRESTO_VERSION
52
52
columns = dict ([desc [:2 ] for desc in cur .description ])
53
53
assert columns ["node_id" ] == "varchar"
54
54
assert columns ["http_uri" ] == "varchar"
You can’t perform that action at this time.
0 commit comments