summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-12-15 16:49:49 +0200
committerLars Wirzenius <liw@liw.fi>2017-12-15 16:49:49 +0200
commit51edd7a26118ebe7b6d94bd331d09f64d8675a55 (patch)
tree4c17c4835df423dda7a93467b554535d0d1007fb /yarns/900-implements.yarn
parentd8f880bec11ee7d81a3715a1677b4b29ebbef201 (diff)
downloadick2-51edd7a26118ebe7b6d94bd331d09f64d8675a55.tar.gz
Refactor: drop debug statements
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn11
1 files changed, 0 insertions, 11 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 069b37b..410191c 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -54,8 +54,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
user = get_next_match()
path = get_next_match()
body_text = get_next_match()
- print('path', path)
- print('body', body_text)
token = get_token(user)
url = vars['url']
http(vars, post, url + path, body_text=body_text, token=token)
@@ -64,8 +62,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
user = get_next_match()
path = get_next_match()
body_text = get_next_match()
- print('path', path)
- print('body', body_text)
token = get_token(user)
url = vars['url']
http(vars, post, url + path, body_text=body_text, token='invalid')
@@ -74,9 +70,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
user = get_next_match()
path = get_next_match()
body_text = get_next_match()
- print('user', user)
- print('path', path)
- print('body', body_text)
token = get_token(user)
url = vars['url']
http(vars, put, url + path, body_text=body_text, token=token)
@@ -94,9 +87,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
user = get_next_match()
path = get_next_match()
body_text = '{}'
- print('user', user)
- print('path', path)
- print('body', body_text)
token = get_token(user)
url = vars['url']
http(vars, put, url + path, body_text=body_text, token='invalid')
@@ -117,7 +107,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
IMPLEMENTS THEN body matches (.+)
expected_text = get_next_match()
expected = json.loads(expected_text)
- print('actual body', repr(vars['body']))
actual = json.loads(vars['body'])
assertEqual(expected, actual)