def one_invalid_test(): s = Schema([one]) s.add(one_gen.valid()) r = Runner(s, httpbin("post"), invalid={"One": one_gen.invalid()}) r.run()
def one_valid_test(): s = Schema([one]) s.add(one_gen.valid()) r = Runner(s, httpbin("post")) r.run()