def test_outfile(self):
        """wget with non-default output file"""
        w = wget()
        self.assertEqual(w.download_step(url='http://mysite.com/foo.tgz',
                                         outfile='bar.tgz'),
                         'mkdir -p /tmp && wget -q -nc --no-check-certificate -O bar.tgz -P /tmp http://mysite.com/foo.tgz')
wget with non-default output file
test/test_wget.py