Commit 034e1d3b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2823] clarify the purpose of mock auth statistics spec and data

parent b308ba3b
......@@ -169,6 +169,10 @@ INIT_SPEC_STR = """\
# Note: this is derived of the spec for the DNS authoritative server, but
# for the purpose of this test, it's completely irrelevant to DNS.
# Some statisittics specs do not make sense for practical sense but used
# just cover various types of statistics data (list, map/dict, etc).
"module_spec": {
......@@ -448,7 +452,9 @@ class MyStatsHttpd(stats_httpd.StatsHttpd):
# stats-httpd tests. For the purpose of these tests, the content of
# statistics data is not so important (they don't test whther the
# counter values are correct, etc), so hardcoding the common case
# should suffice.
# should suffice. Note also that some of the statistics values and
# specs don't make sense in practice (see also comments on
with open(stats.SPECFILE_LOCATION) as f:
stat_spec_str =
self.__default_spec_answer = {
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