def test_select_where_withoutfile(self): SQL = SELECT.create_sql_select_where() pgres = dbop.sql_exe_pg('../peloton_test.conf', SQL) ptres = dbop.sql_exe_pt('../peloton_test.conf', SQL) selt.assertTrue(pgres)
def test_in_noanyindex(): SQL = IN.create_sql_in_noanyindex() pgfile = dbop.sql_exe_pg('../peloton_test.conf', SQL, 'in_noanyindex.out') ptfile = dbop.sql_exe_pt('../peloton_test.conf', SQL, 'in_noanyindex.out') res = fileop.compare_results(pgfile, ptfile) assert(res == True)
def test_select_where_withoutfile(): SQL = SELECT.create_sql_select_where() pgres = dbop.sql_exe_pg('../peloton_test.conf', SQL) ptres = dbop.sql_exe_pt('../peloton_test.conf', SQL) assert(pgres == ptres)