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