'L{DNSServerFactory} can serve I{SPF} resource records.'

def test_spf(self):

    return self.namesTest(self.resolver.lookupSenderPolicy('test-domain.com'), [dns.Record_SPF('v=spf1    mx/30    mx:example.org/30    -all', ttl=19283784), dns.Record_SPF('v=spf1    +mx    a:\x00colo', '.example.com/28    -all    not    valid', ttl=19283784)])
