Ejemplo n.º 1
0
  def test_get(self):
    Inputs = 'a', 1
    RIH.values(*Inputs)

    # test the call
    assert(get('str') == Inputs[0])

    assert(get('int', type=int) == Inputs[1])
Ejemplo n.º 2
0
 def test_ec_call(self):
   r"""Test ec.call with partial arguments
   """
   RIH.values(2, 3)
   assert(call(task1, arg1=1) == (1, 2))
Ejemplo n.º 3
0
  def test_call_with_input(self):
    from support.helpers import RawInputHook as RIH
    RIH.values(2, 3)

    assert(interface.call('task1 arg1=1', True) == (1, 2))