~allenap/maas/xxx-a-thon

« back to all changes in this revision

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

  • Committer: Gavin Panella
  • Date: 2016-03-22 21:14:34 UTC
  • mfrom: (4657.1.157 maas)
  • Revision ID: gavin.panella@canonical.com-20160322211434-xzuovio86zvzo2js
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
class TestRNDCUtilities(MAASTestCase):
169
169
 
170
170
    def test_generate_rndc_returns_configurations(self):
171
 
        rndc_content, named_content = generate_rndc()
 
171
        rndc_content, named_content = generate_rndc(
 
172
            include_default_controls=False)
172
173
        # rndc_content and named_content look right.
173
174
        self.assertIn('# Start of rndc.conf', rndc_content)
174
175
        self.assertIn('controls {', named_content)