def test_requestAvatarId(self):
        checker = checkers.SSHProtocolChecker()
        passwordDatabase = InMemoryUsernamePasswordDatabaseDontUse()
        passwordDatabase.addUser(b'test', b'test')
        checker.registerChecker(passwordDatabase)
        d = checker.requestAvatarId(UsernamePassword(b'test', b'test'))
        def _callback(avatarId):
            self.assertEqual(avatarId, b'test')
        return d.addCallback(_callback)
Confirms that a subnet exists that is associated with the
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_checkers.py/SSHProtocolCheckerTests.test_requestAvatarId--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/quantum/melange_ipam_lib.py/QuantumMelangeIPAMLib.verify_subnet_exists