File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 11from __future__ import absolute_import , division , print_function
22
33from stripe import util
4- from stripe .api_resources .abstract import CreateableAPIResource
5- from stripe .api_resources .abstract import UpdateableAPIResource
64from stripe .api_resources .abstract import ListableAPIResource
5+ from stripe .api_resources .abstract import UpdateableAPIResource
76
87
9- class Dispute (CreateableAPIResource , ListableAPIResource ,
10- UpdateableAPIResource ):
8+ class Dispute (ListableAPIResource , UpdateableAPIResource ):
119 OBJECT_NAME = 'dispute'
1210
1311 def close (self , idempotency_key = None ):
Original file line number Diff line number Diff line change @@ -24,16 +24,6 @@ def test_list_all_disputes(self):
2424 }
2525 )
2626
27- def test_create_dispute (self ):
28- stripe .Dispute .create (idempotency_key = 'foo' , ** DUMMY_DISPUTE )
29-
30- self .requestor_mock .request .assert_called_with (
31- 'post' ,
32- '/v1/disputes' ,
33- DUMMY_DISPUTE ,
34- {'Idempotency-Key' : 'foo' },
35- )
36-
3727 def test_retrieve_dispute (self ):
3828 stripe .Dispute .retrieve ('dp_test_id' )
3929
You can’t perform that action at this time.
0 commit comments