def test_from_file(self): with open(os.path.join(os.path.dirname(__file__), '20_ptm_318579.doc')) as f: with PlenumProtocolFile.get_from_file(f) as protocol: plenum_protocol_assertions(self, protocol)
def test_from_url(self): with PlenumProtocolFile.get_from_url('http://fs.knesset.gov.il/20/Plenum/20_ptm_318579.doc') as protocol: plenum_protocol_assertions(self, protocol)
def test_from_url(self): with PlenumProtocolFile.get_from_url( 'http://fs.knesset.gov.il/20/Plenum/20_ptm_318579.doc' ) as protocol: plenum_protocol_assertions(self, protocol)