예제 #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)