def testPasswordProtectedSite(self):
        test_support.requires('network')
        with test_support.transient_internet('mueblesmoraleda.com'):
            url = 'http://mueblesmoraleda.com'
            parser = robotparser.RobotFileParser()
            parser.set_url(url)
            try:
                parser.read()
            except IOError:
                self.skipTest('%s is unavailable' % url)
            self.assertEqual(parser.can_fetch("*", url+"/robots.txt"), False)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_robotparser.py/NetworkTestCase.testPasswordProtectedSite/original