~maas-committers/maas/trunk

« back to all changes in this revision

Viewing changes to src/maasserver/tests/test_commands_edit_named_options.py

[r=rvb,andreserl][bug=1413388][author=mpontillo] Allow users to define allow-* parameters in named.conf.options; prevent writing them to named.conf.options.inside.maas in that case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from maasserver.testing.factory import factory
31
31
from maasserver.testing.testcase import MAASServerTestCase
32
32
from maasserver.utils import get_one
33
 
from maasserver.utils.isc import (
 
33
from provisioningserver.dns.config import MAAS_NAMED_CONF_OPTIONS_INSIDE_NAME
 
34
from provisioningserver.utils.isc import (
34
35
    make_isc_string,
35
36
    parse_isc_string,
36
37
    read_isc_file,
37
38
)
38
 
from provisioningserver.dns.config import MAAS_NAMED_CONF_OPTIONS_INSIDE_NAME
39
39
from testtools.matchers import (
40
40
    Contains,
41
41
    Equals,