示例#1
0
 def test__paths2list_5(self):
     """paths2list('"C:\windows":foo:bar') should == ['C:\windows', 'foo', 'bar']"""
     self.assertEqual(tested.paths2list('"C:\windows":foo:bar'), ['C:\windows', 'foo', 'bar'])
示例#2
0
 def test__paths2list_4(self):
     """paths2list('foo:bar') should == ['foo', 'bar']"""
     self.assertEqual(tested.paths2list('foo:bar'), ['foo', 'bar'])
示例#3
0
 def test__paths2list_1(self):
     """paths2list('') should == []"""
     self.assertEqual(tested.paths2list(''),[])
示例#4
0
 def test__paths2list_2(self):
     """paths2list('xyz') should == ['xyz']"""
     self.assertEqual(tested.paths2list('xyz'),['xyz'])
示例#5
0
 def test__paths2list_0(self):
     """paths2list('') should be an instance of SCons.Util.CLVar"""
     self.assertIsInstance(tested.paths2list(''), SCons.Util.CLVar)