def test_simple(self): self.assertEquals(make_rest_call('flip_boolean', b=False), True) self.assertEquals(make_rest_call('flip_boolean', b=True), False)
def test_simple(self): self.assertEquals(make_rest_call('add_integers', a=100, b=50), 150)
def test_diff_size(self): self.assertEquals( make_rest_call( 'add_integer_lists', p=[1, 2, 3], q=[3, -5, 0, 11, -5]), [4, -3, 3, 11, -5])
def test_empty(self): self.assertEquals( make_rest_call('add_integer_lists', p=[], q=[]), [])
def test_one(self): self.assertEquals( make_rest_call('add_integer_lists', p=[1], q=[2]), [3])
def test_simple(self): self.assertEquals( make_rest_call('add_integer_lists', p=[1, 2, 3], q=[3, -5, 0]), [4, -3, 3])
def test_dt(self): self.assertEqual( make_rest_call('next_month_dt', d='2011-08-20T00:04:59'), '2011-09-20T00:04:59+00:00')
def test_diff_size(self): self.assertEquals( make_rest_call('add_integer_lists', p=[1, 2, 3], q=[3, -5, 0, 11, -5]), [4, -3, 3, 11, -5])
def test_simple(self): self.assertEqual( make_rest_call('next_month', d='2011-08-20'), '2011-09-20')
def test_simple(self): self.assertEquals(make_rest_call('add_simple', a='hello', b=' world'), 'hello world')
def test_one(self): self.assertEquals(make_rest_call('add_integer_lists', p=[1], q=[2]), [3])
def test_empty(self): self.assertEquals(make_rest_call('add_integer_lists', p=[], q=[]), [])
def test_simple(self): self.assertEquals( make_rest_call('add_simple', a='hello', b=' world'), 'hello world')
def test_simple(self): self.assertEqual(make_rest_call('next_month', d='2011-08-20'), '2011-09-20')