示例#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)