Esempio n. 1
0
 def test23(self):
     '''Not find a tool library from an invalid absolute path.'''
     path = PathToolBit.findToolLibrary(testToolLibrary(TestInvalidDir))
     self.assertIsNone(path)
Esempio n. 2
0
 def test20(self):
     '''Find a tool library from file name'''
     path = PathToolBit.findToolLibrary('Default.fctl')
     self.assertIsNot(path, None)
     self.assertNotEqual(path, 'Default.fctl')
Esempio n. 3
0
 def test21(self):
     '''Not find a relative path library if not stored in default location'''
     path = PathToolBit.findToolLibrary(TestToolLibraryName)
     self.assertIsNone(path)
Esempio n. 4
0
 def test20(self):
     """Find a tool library from file name"""
     path = PathToolBit.findToolLibrary("Default.fctl")
     self.assertIsNot(path, None)
     self.assertNotEqual(path, "Default.fctl")