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