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():
4545
4646# Temporary fix because can't start 0.203
4747# 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 ()
4949PRESTO_HOST = "127.0.0.1"
5050PRESTO_PORT = 8080
5151
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def test_select_query(presto_connection):
4848 assert len (rows ) > 0
4949 row = rows [0 ]
5050 assert row [0 ] == "test"
51- assert row [2 ] == fixtures .PRESTO_VERSION
51+ assert row [2 ]. split ( "-" )[ 0 ] == fixtures .PRESTO_VERSION
5252 columns = dict ([desc [:2 ] for desc in cur .description ])
5353 assert columns ["node_id" ] == "varchar"
5454 assert columns ["http_uri" ] == "varchar"
You can’t perform that action at this time.
0 commit comments