'If given a IPv4 address as the hostname, the generated certificate has
a subjectAltName containing with a IP record.'

def test_subjectAltName_ipv4(self):

    credential = ControlCredential.initialize(self.path, self.ca, begin=self.start_date, hostname='127.0.0.1')
    assert_has_extension(self, credential.credential, 'subjectAltName', 'DNS:control-service,IP:127.0.0.1')
