Пример #1
0
 def test__flags2list_3(self):
     """flags2list('foo bar') should == ['foo', 'bar']"""
     self.assertEqual(tested.flags2list('foo bar'), ['foo', 'bar'])
Пример #2
0
 def test__flags2list_1(self):
     """flags2list('') should == []"""
     self.assertEqual(tested.flags2list(''),[])
Пример #3
0
 def test__flags2list_2(self):
     """flags2list('xyz') should == ['xyz']"""
     self.assertEqual(tested.flags2list('xyz'),['xyz'])
Пример #4
0
 def test__flags2list_0(self):
     """flags2list('') should be an instance of SCons.Util.CLVar"""
     self.assertIsInstance(tested.flags2list(''), SCons.Util.CLVar)