def METHOD_NAME(self):
    sql_file = os.path.join(os.path.dirname(inspect.getfile(self.__class__)),'test.sql')
    out_file = sql_file.replace('.sql', '.out')
    psql = PSQL(sql_file = sql_file)
    expected_cmdstr = "psql -a -f %s &> %s 2>&1" %(sql_file, out_file)
    self.assertEquals(re.sub(' +', ' ', psql.cmdStr.strip()), expected_cmdstr)