def test_single(self): assert inputs({'a': 'a'}) == '<input type="hidden" name="a" value="a"/>'
def test_multiple(self): rendered_string = inputs({'a': 'a', 'b': 'b'}) assert '<input type="hidden" name="a" value="a"/>' in rendered_string assert '<input type="hidden" name="b" value="b"/>' in rendered_string
def test_empty(self): assert inputs({}) == ''
def test_multiple(self): rendered_string = inputs({"a": "a", "b": "b"}) assert '<input type="hidden" name="a" value="a"/>' in rendered_string assert '<input type="hidden" name="b" value="b"/>' in rendered_string