From 4b9774a416f917e6d8048c9260b232fc6718a11e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 31 Oct 2017 18:33:27 +0200 Subject: Add: stub IMPLEMENTS for new scenario steps These will need to be implemented for real, but at least it's clear now what needs to be implemented. --- yarns/900-implements.yarn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'yarns/900-implements.yarn') diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index 3bb694e..49c68b2 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -63,6 +63,11 @@ along with this program. If not, see . vars['content_type'] = content_type vars['body'] = body + IMPLEMENTS WHEN worker-manager makes request POST (/\S+) (.+) + assert 0 + + IMPLEMENTS WHEN worker-manager makes request GET (/\S+) + assert 0 ## HTTP response inspection @@ -85,3 +90,6 @@ along with this program. If not, see . setup_py = os.path.join(srcdir, 'setup.py') wanted = cliapp.runcmd(['python3', setup_py, '--version']).strip() assertTrue(wanted.startswith(actual)) + + IMPLEMENTS THEN result has header (\S+): (\S+) + assert 0 -- cgit v1.2.1