Lines Matching refs:_zero
23 self._zero = zeroconf.ZeroconfDaemon(self._host, FAKE_HOSTNAME)
33 return self._zero._process_A(q)
40 self._zero.register_service('unique_prefix', '_service_type',
48 ptr_responses = self._zero._process_PTR(q_ptr)
49 srv_responses = self._zero._process_SRV(q_srv)
50 txt_responses = self._zero._process_TXT(q_txt)
60 self.assertEqual(FAKE_HOSTNAME + '.' + self._zero.domain,
68 self.assertEqual(self._zero.host, self._host)
69 self.assertEqual(self._zero.hostname, FAKE_HOSTNAME)
70 self.assertEqual(self._zero.domain, 'local') # Default domain
71 self.assertEqual(self._zero.full_hostname, FAKE_HOSTNAME + '.local')
93 host_A = self._query_A(self._zero.full_hostname)
98 self.assertEqual(record.name, self._zero.full_hostname)
136 self._zero.add_answer_observer(lambda args: answer_calls.extend(args))
151 records = self._zero.cached_results(domain_name, dpkt.dns.DNS_TXT)