Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 83f2374

Browse files
author
Pascal Wink
committed
fix python tests so that we can implement this into bunqs CI pipeline
1 parent 87cf91f commit 83f2374

File tree

13 files changed

+15427
-11506
lines changed

13 files changed

+15427
-11506
lines changed

‎.gitignore

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,11 @@
66
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
77

88
# User-specific stuff:
9-
.idea/**/workspace.xml
10-
.idea/**/tasks.xml
11-
.idea/dictionaries
12-
.idea/shelf
13-
14-
# Sensitive or high-churn files:
15-
.idea/**/dataSources/
16-
.idea/**/dataSources.ids
17-
.idea/**/dataSources.xml
18-
.idea/**/dataSources.local.xml
19-
.idea/**/sqlDataSources.xml
20-
.idea/**/dynamic.xml
21-
.idea/**/uiDesigner.xml
22-
23-
# Gradle:
24-
.idea/**/gradle.xml
25-
.idea/**/libraries
9+
.idea
2610

2711
# CMake
2812
cmake-build-debug/
2913

30-
# Mongo Explorer plugin:
31-
.idea/**/mongoSettings.xml
32-
3314
## File-based project format:
3415
*.iws
3516

@@ -97,3 +78,6 @@ connectQr.png
9778
bunq_sdk.egg-info
9879
.idea/codeStyles/
9980
venv
81+
82+
tests/assets/bunq-oauth-psd2-test.conf
83+
tests/assets/bunq-psd2-test.conf

‎bunq/sdk/json/converter.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ def _deserialize_dict_attributes(cls,
161161

162162
if value_specs is not None:
163163
dict_deserialized[value_specs.name] = cls._deserialize_value(value_specs.types, dict_[key])
164-
else:
165-
cls._warn_key_unknown(cls_context, key)
166164

167165
return dict_deserialized
168166

@@ -286,12 +284,7 @@ def _deserialize_list(cls,
286284

287285
return list_deserialized
288286

289-
@classmethod
290-
def _warn_key_unknown(cls,
291-
cls_context: Type[T],
292-
key: str) -> None:
293-
context_name = cls_context.__name__
294-
warnings.warn(cls._WARNING_KEY_UNKNOWN.format(key, context_name))
287+
295288

296289
@classmethod
297290
def _fill_default_values(cls,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /