def test_bad_recnum(self):
        """ Shows that the program when given a recnum that doesn't exist will
            write no rows to the output file and print only a comment to stdout

            To do:
                - check for a negative number
                - check for return code
        """

        p_outrecs = []
        cmd = '%s %s -r 999 -o %s' % (fq_pgm, self.in_fqfn, self.out_fqfn)
        r   = envoy.run(cmd)
        for rec in fileinput.input(self.out_fqfn):
            p_outrecs.append(rec)
        fileinput.close()

        assert r.std_out in 'No record found'
        assert len(p_outrecs) == 0
dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_viewer_cmd.py/TestCommandLine.test_bad_recnum/swapped operands of `in`