From 1e601d34193018af47968ddb5a1feba6adb45bc1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 2 Sep 2016 06:10:21 +0200 Subject: [PATCH] Add apikey to test_pastebin.py --- tests/unit/misc/test_pastebin.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/unit/misc/test_pastebin.py b/tests/unit/misc/test_pastebin.py index 7a3cf9ee8..b60b319a6 100644 --- a/tests/unit/misc/test_pastebin.py +++ b/tests/unit/misc/test_pastebin.py @@ -62,13 +62,15 @@ def test_constructor(qapp): "name": "XYZ", "title": "hello world", "text": "xyz. 123 \n 172ANB", - "reply": "abc" + "reply": "abc", + "apikey": "ihatespam", }, { "name": "the name", "title": "the title", "text": "some Text", - "reply": "some parent" + "reply": "some parent", + "apikey": "ihatespam", } ]) def test_paste_with_parent(data, pbclient): @@ -82,12 +84,14 @@ def test_paste_with_parent(data, pbclient): { "name": "XYZ", "title": "hello world", - "text": "xyz. 123 \n 172ANB" + "text": "xyz. 123 \n 172ANB", + "apikey": "ihatespam", }, { "name": "the name", "title": "the title", - "text": "some Text" + "text": "some Text", + "apikey": "ihatespam", } ]) def test_paste_without_parent(data, pbclient):