From 5f5b83d7631240a5c101c837d8ef5994b069f7b1 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Thu, 15 Aug 2013 16:09:41 +0400 Subject: [PATCH] Updated misplaced docstring test --- python/testData/inspections/MoveDocstring.py | 7 +++---- python/testData/inspections/MoveDocstring_after.py | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/python/testData/inspections/MoveDocstring.py b/python/testData/inspections/MoveDocstring.py index 468be246dd68..1db4e3f4d282 100644 --- a/python/testData/inspections/MoveDocstring.py +++ b/python/testData/inspections/MoveDocstring.py @@ -1,9 +1,8 @@ class GetCustomerPaymentProfileRequest(CustomerRequest): - _keys = CustomerRequest._keys + ["customerPaymentProfileId"] + def __init__(self, user, profileid): + CustomerRequest.__init__(self, user, + customerPaymentProfileId=profileid) """ Gets a payment profile by user Account object and authorize.net profileid of the payment profile. """ - def __init__(self, user, profileid): - CustomerRequest.__init__(self, user, - customerPaymentProfileId=profileid) \ No newline at end of file diff --git a/python/testData/inspections/MoveDocstring_after.py b/python/testData/inspections/MoveDocstring_after.py index e262aaa10637..1833c32c75fe 100644 --- a/python/testData/inspections/MoveDocstring_after.py +++ b/python/testData/inspections/MoveDocstring_after.py @@ -3,8 +3,7 @@ class GetCustomerPaymentProfileRequest(CustomerRequest): Gets a payment profile by user Account object and authorize.net profileid of the payment profile. """ - _keys = CustomerRequest._keys + ["customerPaymentProfileId"] def __init__(self, user, profileid): CustomerRequest.__init__(self, user, - customerPaymentProfileId=profileid) \ No newline at end of file + customerPaymentProfileId=profileid)