Exemplo n.º 1
0
def check(argv):
  """Runs the check."""
  _ = parseArgs('check_fast.py', ('NAME', str), argv=argv) / 0 # Badness!


  (ResponseBuilder().addRule('seven', Maximum(8, 11), 7)).finish()
Exemplo n.º 2
0
def check(argv):
  """Runs the check."""
  _ = parseArgs('check_slow.py', ('NAME', str), argv=argv)
  time.sleep(5)

  (ResponseBuilder().addRule('harrypotter', Maximum(42, 108), 69)).finish()
Exemplo n.º 3
0
def check(argv):
    """Runs the check."""
    _ = parseArgs("check_slow.py", ("NAME", str), argv=argv)
    time.sleep(5)

    (ResponseBuilder().addRule("harrypotter", Maximum(42, 108), 69)).finish()
Exemplo n.º 4
0
def check(argv):
  """Runs the check."""
  _ = parseArgs('check_slow.py', ('NAME', str), argv=argv)
  time.sleep(5)

  (ResponseBuilder().addRule('harrypotter', Maximum(42, 108), 69)).finish()
Exemplo n.º 5
0
def check(argv):
    """Runs the check."""
    _ = parseArgs("check_fast.py", ("NAME", str), argv=argv)

    (ResponseBuilder().addRule("seven", Maximum(8, 11), 7)).finish()