From 180e7fe74959914c551d1c742d79e5751e25e793 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 16 Oct 2017 17:19:48 +0300 Subject: Add: implement new scenario step --- yarns/900-local.yarn | 5 +++++ yarns/900-remote.yarn | 3 +++ 2 files changed, 8 insertions(+) (limited to 'yarns') diff --git a/yarns/900-local.yarn b/yarns/900-local.yarn index 2657662..2bc4e0e 100644 --- a/yarns/900-local.yarn +++ b/yarns/900-local.yarn @@ -94,3 +94,8 @@ along with this program. If not, see . name = get_next_match() filename = os.path.join(vars['statedir'], 'projects', name + '.yaml') assertTrue(os.path.exists(filename)) + + IMPLEMENTS THEN controller state directory contains worker (\S+) + name = get_next_match() + filename = os.path.join(vars['statedir'], 'workers', name + '.yaml') + assertTrue(os.path.exists(filename)) diff --git a/yarns/900-remote.yarn b/yarns/900-remote.yarn index 8c5c8b7..0a28c81 100644 --- a/yarns/900-remote.yarn +++ b/yarns/900-remote.yarn @@ -57,3 +57,6 @@ along with this program. If not, see . IMPLEMENTS THEN controller state directory contains project (\S+) pass + + IMPLEMENTS THEN controller state directory contains worker (\S+) + pass -- cgit v1.2.1