def METHOD_NAME(self):
    sql_file = os.path.join(os.path.dirname(inspect.getfile(self.__class__)),'test.sql')
    psql = PSQL(sql_file = sql_file, host = 'localhost', output_to_file = False)
    expected_cmdstr = 'psql -h localhost -a -f %s' %(sql_file)
    self.assertEquals(re.sub(' +', ' ', psql.cmdStr.strip()), expected_cmdstr)