Add apikey to test_pastebin.py
This commit is contained in:
parent
3f279a3a31
commit
1e601d3419
@ -62,13 +62,15 @@ def test_constructor(qapp):
|
|||||||
"name": "XYZ",
|
"name": "XYZ",
|
||||||
"title": "hello world",
|
"title": "hello world",
|
||||||
"text": "xyz. 123 \n 172ANB",
|
"text": "xyz. 123 \n 172ANB",
|
||||||
"reply": "abc"
|
"reply": "abc",
|
||||||
|
"apikey": "ihatespam",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "the name",
|
"name": "the name",
|
||||||
"title": "the title",
|
"title": "the title",
|
||||||
"text": "some Text",
|
"text": "some Text",
|
||||||
"reply": "some parent"
|
"reply": "some parent",
|
||||||
|
"apikey": "ihatespam",
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
def test_paste_with_parent(data, pbclient):
|
def test_paste_with_parent(data, pbclient):
|
||||||
@ -82,12 +84,14 @@ def test_paste_with_parent(data, pbclient):
|
|||||||
{
|
{
|
||||||
"name": "XYZ",
|
"name": "XYZ",
|
||||||
"title": "hello world",
|
"title": "hello world",
|
||||||
"text": "xyz. 123 \n 172ANB"
|
"text": "xyz. 123 \n 172ANB",
|
||||||
|
"apikey": "ihatespam",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "the name",
|
"name": "the name",
|
||||||
"title": "the title",
|
"title": "the title",
|
||||||
"text": "some Text"
|
"text": "some Text",
|
||||||
|
"apikey": "ihatespam",
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
def test_paste_without_parent(data, pbclient):
|
def test_paste_without_parent(data, pbclient):
|
||||||
|
Loading…
Reference in New Issue
Block a user