def test_bad_config(self):
        yml = "this is garbage"
        tmp = self.mktemp()
        self.config._default_file = tmp
        fp = FilePath(tmp)
        fp.setContent(yml)
        
        self.assertRaises(InvalidConfiguration, self.config.read_and_parse)
The L{Failure} passed to L{Response._bodyDataFinished} when the response
dataset/ETHPy150Open ClusterHQ/powerstrip/powerstrip/test/test_config.py/ReadAndParseTests.test_bad_config--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/ResponseTests.test_finishedWithErrorWhenConnected