Skip to content

Commit 071be3f

Browse files
committed
added github actions
1 parent 501f0d9 commit 071be3f

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

thepeer/main.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99

1010
import httpx # noqa: E402
11-
from decouple import config # noqa: E402
1211
from utils.constants import BASE_URL # noqa: E402
1312
from utils.exceptions.handleErrors import SwitchErrorStates # noqa: E402
1413

@@ -251,22 +250,3 @@ def refund_transaction(self, transaction_id, reason):
251250
return response.json()
252251
except Exception as e:
253252
raise SwitchErrorStates(e).switch()
254-
255-
256-
# test function
257-
peer = ThePeerInit(config("PEER_SECRET_KEY"))
258-
test = peer.index_user("Osagie Iyayi", "iyayiemmanuel1@gmail.com", "iyayiemmanuel1@gmail.com")
259-
260-
get = peer.update_user(
261-
"3bbb0fbf-82fa-48a0-80eb-d2c0338fe7dd",
262-
identifier="iyayiemmanuel1@gmail.com",
263-
name="Osagie Iyayi",
264-
email="iyayiemmanuel1@gmail.com",
265-
)
266-
267-
# get = thepeer.all_users()
268-
charge = peer.authorize_direct_charge("3bbb0fbf-82fa-48a0-80eb-d2c0338fe7dd", "failed")
269-
view = peer.view_user("3bbb0fbf-82fa-48a0-80eb-d2c0338fe7dd")
270-
# print(test)
271-
# print(view)
272-
# print(get)

0 commit comments

Comments
 (0)