diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-10-31 18:33:27 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-10-31 18:33:27 +0200 |
commit | 4b9774a416f917e6d8048c9260b232fc6718a11e (patch) | |
tree | b9659eb044ce8b1a8ce426dd32bb7e100c2a9a26 /yarns/900-implements.yarn | |
parent | 5173ddc34c3d644f1e05482a678eea12042319c4 (diff) | |
download | ick2-4b9774a416f917e6d8048c9260b232fc6718a11e.tar.gz |
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.
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r-- | yarns/900-implements.yarn | 8 |
1 files changed, 8 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. 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 <http://www.gnu.org/licenses/>. 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 |