(b, length)
| 173 | assert b.form.getlist("foo") == ["bar1", "bar2"] |
| 174 | |
| 175 | def check_list_content(b, length): |
| 176 | foo = b.files.getlist("foo") |
| 177 | assert len(foo) == length |
| 178 | for obj in foo: |
| 179 | assert isinstance(obj, FileStorage) |
| 180 | |
| 181 | b = EnvironBuilder(data={"foo": BytesIO()}) |
| 182 | check_list_content(b, 1) |
no test coverage detected