diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-10-16 17:19:48 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-10-16 17:19:48 +0300 |
commit | 180e7fe74959914c551d1c742d79e5751e25e793 (patch) | |
tree | 35fcc90178a154d2ad847a7a366615a580327095 /yarns | |
parent | 871504484a7fab96de57885d3c12a1c2129cc75f (diff) | |
download | ick2-180e7fe74959914c551d1c742d79e5751e25e793.tar.gz |
Add: implement new scenario step
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/900-local.yarn | 5 | ||||
-rw-r--r-- | yarns/900-remote.yarn | 3 |
2 files changed, 8 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. 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 <http://www.gnu.org/licenses/>. IMPLEMENTS THEN controller state directory contains project (\S+) pass + + IMPLEMENTS THEN controller state directory contains worker (\S+) + pass |