Skip to content

Commit d5de976

Browse files
committed
flake8: fix accidental dictionary key redefinition (F601)
1 parent 68c9fa3 commit d5de976

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

tests/conftest.py

-8
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ def satosa_config_dict(backend_plugin_config, frontend_plugin_config, request_mi
130130
config = {
131131
"BASE": BASE_URL,
132132
"COOKIE_STATE_NAME": "TEST_STATE",
133-
"BACKEND_MODULES": ["foo"],
134-
"FRONTEND_MODULES": ["bar"],
135133
"INTERNAL_ATTRIBUTES": {"attributes": {}},
136134
"STATE_ENCRYPTION_KEY": "state_encryption_key",
137135
"CUSTOM_PLUGIN_MODULE_PATHS": [os.path.dirname(__file__)],
@@ -190,12 +188,6 @@ def saml_frontend_config(cert_and_key, sp_conf):
190188
"config": {
191189
"idp_config": {
192190
"entityid": "frontend-entity_id",
193-
"organization": {"display_name": "Test Identities", "name": "Test Identities Org.",
194-
"url": "http://www.example.com"},
195-
"contact_person": [{"contact_type": "technical", "email_address": "[email protected]",
196-
"given_name": "Technical"},
197-
{"contact_type": "support", "email_address": "[email protected]",
198-
"given_name": "Support"}],
199191
"service": {
200192
"idp": {
201193
"endpoints": {

tox.ini

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ ignore =
4646
E302
4747
E303
4848
E703
49-
F601
5049
F841
5150
W291
5251
W292

0 commit comments

Comments
 (0)