File tree Expand file tree Collapse file tree 7 files changed +1
-35
lines changed Expand file tree Collapse file tree 7 files changed +1
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
from bunq .sdk .exception import BunqException
9
9
from bunq .sdk .model .generated import endpoint
10
10
from bunq .sdk .model .generated import object_
11
- from tests import config
12
-
13
11
14
12
class BunqSdkTestCase (unittest .TestCase ):
15
13
"""
16
14
:type _second_monetary_account: endpoint.MonetaryAccountBank
17
15
:type _cash_register: endpoint.CashRegister
18
16
"""
19
17
18
+ # Error constants.
20
19
__ERROR_COULD_NOT_DETERMINE_USER = 'Could not determine user alias.'
21
20
22
- # Config values
23
- _API_KEY = config .Config .get_api_key ()
24
-
25
21
# Name of bunq config file
26
22
_FILENAME_BUNQ_CONFIG = "/bunq-test.conf"
27
23
Original file line number Diff line number Diff line change 4
4
from bunq .sdk .model .generated import endpoint
5
5
from bunq .sdk .model .generated import object_
6
6
from tests .bunq_test import BunqSdkTestCase
7
- from tests .config import Config
8
7
9
8
10
9
class TestPaginationScenario (BunqSdkTestCase ):
@@ -15,8 +14,6 @@ class TestPaginationScenario(BunqSdkTestCase):
15
14
16
15
@classmethod
17
16
def setUpClass (cls ):
18
- cls ._USER_ID = Config .get_user_id ()
19
- cls ._MONETARY_ACCOUNT_ID = Config .get_monetary_account_id_1 ()
20
17
cls ._PAYMENT_LISTING_PAGE_SIZE = 2
21
18
cls ._PAYMENT_REQUIRED_COUNT_MINIMUM = cls ._PAYMENT_LISTING_PAGE_SIZE * 2
22
19
cls ._NUMBER_ZERO = 0
Original file line number Diff line number Diff line change 9
9
from bunq .sdk .model .generated .object_ import CardPinAssignment
10
10
from bunq .sdk .model .generated .object_ import Pointer
11
11
from tests .bunq_test import BunqSdkTestCase
12
- from tests .config import Config
13
12
14
13
15
14
class TestCardDebit (BunqSdkTestCase ):
Original file line number Diff line number Diff line change 8
8
from bunq .sdk .model .generated .object_ import ShareDetail
9
9
from bunq .sdk .model .generated .object_ import ShareDetailReadOnly
10
10
from tests .bunq_test import BunqSdkTestCase
11
- from tests .config import Config
12
11
13
12
14
13
class TestDraftShareInvite (BunqSdkTestCase ):
Original file line number Diff line number Diff line change 3
3
from bunq .sdk .context import BunqContext
4
4
from bunq .sdk .model .generated .endpoint import MonetaryAccountBank
5
5
from tests .bunq_test import BunqSdkTestCase
6
- from tests .config import Config
7
6
8
7
9
8
class TestMonetaryAccount (BunqSdkTestCase ):
Original file line number Diff line number Diff line change 2
2
from bunq .sdk .model .generated .endpoint import RequestResponse
3
3
from bunq .sdk .model .generated .object_ import Amount
4
4
from tests .bunq_test import BunqSdkTestCase
5
- from tests .config import Config
6
5
7
6
8
7
class TestRequestEnquiry (BunqSdkTestCase ):
You can’t perform that action at this time.
0 commit comments