def test_lookupAllRecords(self):
        d = self.resolver.lookupAllRecords(b'mixed')
        def resolved(results):
            answers, authority, additional = results
            self.assertEqual(
                (RRHeader(b"mixed", A, IN, self.ttl,
                          Record_A("1.1.1.2", self.ttl)),),
                answers)
        d.addCallback(resolved)
        return d
Test that a CustomAttribute can be created.
dataset/ETHPy150Open twisted/twisted/twisted/names/test/test_hosts.py/HostsTests.test_lookupAllRecords--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/tests/unit/core/factories/test_attribute_values.py/TestAttributeValueFactory.test_create_custom_attribute