BIND 10 trac1290, updated. 9b76badecd4b688c95c5f83ecdc168922e48680b [1290] rename example feature itself too
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Oct 26 23:36:35 UTC 2011
The branch, trac1290 has been updated
via 9b76badecd4b688c95c5f83ecdc168922e48680b (commit)
from 07520bd77da400ca476432f8bedcd934d992ec81 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9b76badecd4b688c95c5f83ecdc168922e48680b
Author: Jelte Jansen <jelte at isc.org>
Date: Thu Oct 27 01:36:22 2011 +0200
[1290] rename example feature itself too
-----------------------------------------------------------------------
Summary of changes:
tests/lettuce/features/example.feature | 2 +-
tests/lettuce/features/terrain/bind10_control.py | 1 -
tests/lettuce/features/terrain/querying.py | 7 +++++--
3 files changed, 6 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/lettuce/features/example.feature b/tests/lettuce/features/example.feature
index 7dd3e4d..a69ff8e 100644
--- a/tests/lettuce/features/example.feature
+++ b/tests/lettuce/features/example.feature
@@ -1,4 +1,4 @@
-Feature: SQLite3 backend
+Feature: Example feature
This is an example Feature set. Is is mainly intended to show
our use of the lettuce tool and our own framework for it
The first scenario is to show what a simple test would look like, and
diff --git a/tests/lettuce/features/terrain/bind10_control.py b/tests/lettuce/features/terrain/bind10_control.py
index 24db74b..000ba69 100644
--- a/tests/lettuce/features/terrain/bind10_control.py
+++ b/tests/lettuce/features/terrain/bind10_control.py
@@ -29,7 +29,6 @@ def start_bind10(step, config_file, cmdctl_port, process_name):
world.processes.add_process(step, process_name, args)
# check output to know when startup has been completed
- # TODO what to do on failure?
message = world.processes.wait_for_stderr_str(process_name,
["BIND10_STARTUP_COMPLETE",
"BIND10_STARTUP_ERROR"])
diff --git a/tests/lettuce/features/terrain/querying.py b/tests/lettuce/features/terrain/querying.py
index bebd0d2..2818276 100644
--- a/tests/lettuce/features/terrain/querying.py
+++ b/tests/lettuce/features/terrain/querying.py
@@ -12,14 +12,17 @@ import re
# the result will be stored in last_query_result, which can then be inspected
# more closely, for instance with the step
#
-# last query should have <property> <value>
+# "the last query response should have <property> <value>"
#
+# Also see example.feature for some examples
#
# define a class to easily access different parts
# We may consider using our full library for this, but for now
# simply store several parts of the response as text values in
-# this structure
+# this structure.
+# (this actually has the advantage of not relying on our own libraries
+# to test our own, well, libraries)
#
# The following attributes are 'parsed' from the response, all as strings,
# and end up as direct attributes of the QueryResult object:
More information about the bind10-changes
mailing list