Skip to content

Commit 47bca94

Browse files
committed
Correcting the BUTTONVAR mentions in the button tests. Had the wrong name.
1 parent 1a94d56 commit 47bca94

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ build
99
dist
1010
MANIFEST
1111
.idea
12+
*.egg-info

tests/test_buttons.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def test_create_button(self):
2121
'BUTTONTYPE': 'BUYNOW',
2222
'BUTTONSUBTYPE': 'SERVICES',
2323
'BUYNOWTEXT': 'PAYNOW',
24-
'LBUTTONVAR0': 'notify_url=http://test.com',
25-
'LBUTTONVAR1': 'amount=5.00',
26-
'LBUTTONVAR2': 'item_name=Testing',
27-
'LBUTTONVAR3': 'item_number=12345',
24+
'L_BUTTONVAR0': 'notify_url=http://test.com',
25+
'L_BUTTONVAR1': 'amount=5.00',
26+
'L_BUTTONVAR2': 'item_name=Testing',
27+
'L_BUTTONVAR3': 'item_number=12345',
2828
}
2929
response = interface.bm_create_button(**button_params)
3030
self.assertEqual(response.ACK, 'Success')

0 commit comments

Comments
 (0)