Exemplo n.º 1
0
 def test_xlist_postfix_string(self):
     xl = XList(['one', 'two', 'three'], {'first_attr': 1})
     nl = xl.postfix('test')
     self.assertTrue('onetest' in nl)
     self.assertTrue('twotest' in nl)
     self.assertTrue('threetest' in nl)
Exemplo n.º 2
0
 def test_xlist_postfix_unicode_char(self):
     xl = XList(['one', 'two', 'three'], {'first_attr': 1})
     nl = xl.postfix('ত')
     self.assertTrue('oneত' in nl)
     self.assertTrue('twoত' in nl)
     self.assertTrue('threeত' in nl)
Exemplo n.º 3
0
 def test_xlist_postfix_char(self):
     xl = XList(['one', 'two', 'three'], {'first_attr': 1})
     nl = xl.postfix('s')
     self.assertTrue('ones' in nl)
     self.assertTrue('twos' in nl)
     self.assertTrue('threes' in nl)
Exemplo n.º 4
0
 def test_xlist_postfix_string(self):
     xl = XList(['one', 'two', 'three'], {'first_attr': 1})
     nl = xl.postfix('test')
     self.assertTrue('onetest' in nl)
     self.assertTrue('twotest' in nl)
     self.assertTrue('threetest' in nl)
Exemplo n.º 5
0
 def test_xlist_postfix_unicode_char(self):
     xl = XList(['one', 'two', 'three'], {'first_attr': 1})
     nl = xl.postfix('ত')
     self.assertTrue('oneত' in nl)
     self.assertTrue('twoত' in nl)
     self.assertTrue('threeত' in nl)
Exemplo n.º 6
0
 def test_xlist_postfix_char(self):
     xl = XList(['one', 'two', 'three'], {'first_attr': 1})
     nl = xl.postfix('s')
     self.assertTrue('ones' in nl)
     self.assertTrue('twos' in nl)
     self.assertTrue('threes' in nl)