Skip to content

Commit f676b13

Browse files
committed
test: add logout arguments to fix backend tests
1 parent cead543 commit f676b13

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

tests/satosa/backends/test_bitbucket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
class TestBitBucketBackend(object):
7575
@pytest.fixture(autouse=True)
7676
def create_backend(self):
77-
self.bb_backend = BitBucketBackend(Mock(), INTERNAL_ATTRIBUTES,
77+
self.bb_backend = BitBucketBackend(Mock(), Mock(), INTERNAL_ATTRIBUTES,
7878
BB_CONFIG, "base_url", "bitbucket")
7979

8080
@pytest.fixture

tests/satosa/backends/test_oauth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
class TestFacebookBackend(object):
6666
@pytest.fixture(autouse=True)
6767
def create_backend(self):
68-
self.fb_backend = FacebookBackend(Mock(), INTERNAL_ATTRIBUTES, FB_CONFIG, "base_url", "facebook")
68+
self.fb_backend = FacebookBackend(Mock(), Mock(), INTERNAL_ATTRIBUTES, FB_CONFIG, "base_url", "facebook")
6969

7070
@pytest.fixture
7171
def incoming_authn_response(self, context):

tests/satosa/backends/test_openid_connect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
class TestOpenIDConnectBackend(object):
2626
@pytest.fixture(autouse=True)
2727
def create_backend(self, internal_attributes, backend_config):
28-
self.oidc_backend = OpenIDConnectBackend(Mock(), internal_attributes, backend_config, "base_url", "oidc")
28+
self.oidc_backend = OpenIDConnectBackend(Mock(), Mock(), internal_attributes, backend_config, "base_url", "oidc")
2929

3030
@pytest.fixture
3131
def backend_config(self):

tests/satosa/backends/test_orcid.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class TestOrcidBackend(object):
2424
@pytest.fixture(autouse=True)
2525
def create_backend(self, internal_attributes, backend_config):
2626
self.orcid_backend = OrcidBackend(
27+
Mock(),
2728
Mock(),
2829
internal_attributes,
2930
backend_config,

0 commit comments

Comments
 (0)