~allenap/maas/regiond-leader

« back to all changes in this revision

Viewing changes to src/maasserver/dns/tests/test_config.py

  • Committer: MAAS Lander
  • Author(s): Mike Pontillo
  • Date: 2015-04-29 07:38:54 UTC
  • mfrom: (3838.1.5 wip)
  • Revision ID: maas_lander-20150429073854-q9bkd825pyvfhcuk
[r=allenap][bug=1384334][author=mpontillo] Add configuration option for dnssec-validation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
503
503
        dns_update_all_zones_now()
504
504
        self.assertThat(
505
505
            bind_write_options,
506
 
            MockCalledOnceWith(upstream_dns=[random_ip]))
 
506
            MockCalledOnceWith(
 
507
                dnssec_validation='auto', upstream_dns=[random_ip]))
507
508
 
508
509
    def test_dns_update_all_zones_now_writes_trusted_networks_parameter(self):
509
510
        self.patch(settings, 'DNS_CONNECT', True)