def test_xlist_random_noexception( self ): # just confirm that it does not raise exception, can't test result xl = XList([1, 2, 3], {'first_attr': 1}) nl = xl.random() self.assertTrue(type(nl) == type(1))
def test_xlist_random_noexception(self): # just confirm that it does not raise exception, can't test result xl = XList([1 , 2, 3], {'first_attr': 1}) nl = xl.random() self.assertTrue(type(nl) == type(1))