Esempio n. 1
0
    def test_seq_strip(self):
        from Products.CMFDefault.utils import seq_strip

        self.assertEqual(seq_strip(['one ', ' two', ' three ']),
                         ['one', 'two', 'three'])
        self.assertEqual(seq_strip(('one ', ' two', ' three ')),
                         ('one', 'two', 'three'))
Esempio n. 2
0
    def test_seq_strip(self):
        from Products.CMFDefault.utils import seq_strip

        self.assertEqual( seq_strip(['one ', ' two', ' three ']),
                          ['one','two','three'] )
        self.assertEqual( seq_strip(('one ', ' two', ' three ')),
                          ('one','two','three') )
Esempio n. 3
0
 def test_seq_strip( self ):
     assert( seq_strip(['one ', ' two', ' three '])
             == ['one','two','three'])
     assert( seq_strip(('one ', ' two', ' three '))
             == ('one','two','three'))
Esempio n. 4
0
 def test_seq_strip(self):
     assert (seq_strip(['one ', ' two',
                        ' three ']) == ['one', 'two', 'three'])
     assert (seq_strip(
         ('one ', ' two', ' three ')) == ('one', 'two', 'three'))
Esempio n. 5
0
 def test_seq_strip(self):
     self.assertEqual(seq_strip(['one ', ' two', ' three ']),
                      ['one', 'two', 'three'])
     self.assertEqual(seq_strip(('one ', ' two', ' three ')),
                      ('one', 'two', 'three'))
Esempio n. 6
0
 def test_seq_strip(self):
     self.assertEqual( seq_strip(['one ', ' two', ' three ']),
                       ['one','two','three'] )
     self.assertEqual( seq_strip(('one ', ' two', ' three ')),
                       ('one','two','three') )