Commit 7a9e7410 authored by Jelte Jansen's avatar Jelte Jansen

[1455] aesthetic changes from review

whitespace, comments, log messages, typos
parent be101587
......@@ -51,7 +51,8 @@ nonterminals.
A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
was not satisfied is shown. The client is sent an error response with the
given rcode.
In this case, the specific prerequisite is ''. From RFC2136:
In this case, the specific prerequisite is 'Name is not in use'.
From RFC2136:
Name is not in use. No RR of any type is owned by a
specified NAME. Note that this prerequisite IS satisfied by
empty nonterminals.
......@@ -66,7 +67,8 @@ the client.
A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
was not satisfied is shown. The client is sent an error response with the
given rcode.
In this case, the specific prerequisite is ''. From RFC2136:
In this case, the specific prerequisite is 'RRset does not exist'.
From RFC2136:
RRset does not exist. No RRs with a specified NAME and TYPE
(in the zone and class denoted by the Zone Section) can exist.
......@@ -74,7 +76,8 @@ RRset does not exist. No RRs with a specified NAME and TYPE
A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
was not satisfied is shown. The client is sent an error response with the
given rcode.
In this case, the specific prerequisite is ''. From RFC2136:
In this case, the specific prerequisite is 'RRset exists (value independent)'.
From RFC2136:
RRset exists (value dependent). A set of RRs with a
specified NAME and TYPE exists and has the same members
with the same RDATAs as the RRset specified here in this
......@@ -84,7 +87,8 @@ Section.
A DNS UPDATE prerequisite was not satisfied. The specific prerequisite that
was not satisfied is shown. The client is sent an error response with the
given rcode.
In this case, the specific prerequisite is ''. From RFC2136:
In this case, the specific prerequisite is 'RRset exists (value dependent)'.
From RFC2136:
RRset exists (value independent). At least one RR with a
specified NAME and TYPE (in the zone and class specified by
the Zone Section) must exist.
......
......@@ -522,7 +522,7 @@ class SessionTest(unittest.TestCase):
session = UpdateSession(msg, msg_data, TEST_CLIENT4, zconfig)
# compare the to_text output of the rcodes (nicer error messages)
# This call itself should also be done by handle(),
# but just for better failures, it is first called on itw own
# but just for better failures, it is first called on its own
self.assertEqual(expected.to_text(),
session._UpdateSession__check_prerequisites(self.__datasrc_client,
TEST_ZONE_NAME,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment