def test_submit(self):
        data = b'''<form method="post">
            <input type="text" name="foo" value="val"></form>'''
        g = build_grab(data)
        g.choose_form(0)
        g.submit(make_request=False)
        self.assertTrue('foo' in dict(g.config['post']))
dataset/ETHPy150Open lorien/grab/test/grab_deprecated.py/GrabApiTestCase.test_submit/original