def testFindHostByID(self): host = DataReader.findHostByID(2) self.assertIsNotNone(host) host = DataReader.findHostByID(-1) self.assertIsNone(host)