Exemple #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])
Exemple #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))
Exemple #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))