def METHOD_NAME(self):
    id = self.mreso.get_machine_id(hostname="not existing")
    self.assertTrue(id is None)
    id = self.mreso.get_machine_id(hostname="machine1.example.test")
    self.assertEqual(id, "cn=machine1,ou=example,o=test")