code: def test_factorial():
      p = promise_factorial(10)
      assert p.get() == 3628800
  
imports: from time import sleep
  from concurrent.futures import ThreadPoolExecutor
  from promise import Promise
  from operator import mul
label_desc: Use image node_id 2 for calling a global function with example usage: test_factorial() without return types