Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuang42 committed Jul 8, 2023
1 parent 775046b commit f38cd49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions social_core/tests/backends/test_steam.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class SteamOpenIdFakeSteamIdTest(SteamOpenIdTest):
"openid.ns": "http://specs.openid.net/auth/2.0",
"openid.mode": "id_res",
"openid.op_endpoint": "https://steamcommunity.com/openid/login",
"openid.claimed_id": "https://steamcommunity.com/openid/123",
"openid.claimed_id": "https://fakesteamcommunity.com/openid/123",
"openid.identity": "https://fakesteamcommunity.com/openid/123",
"openid.return_to": "http://myapp.com/complete/steam/?"
"janrain_nonce=" + JANRAIN_NONCE,
Expand All @@ -162,11 +162,11 @@ class SteamOpenIdFakeSteamIdTest(SteamOpenIdTest):
)

def test_login(self):
self._login_setup(user_url="https://steamcommunity.com/openid/123")
self._login_setup(user_url="https://fakesteamcommunity.com/openid/123")
with self.assertRaises(AuthFailed):
self.do_login()

def test_partial_pipeline(self):
self._login_setup(user_url="https://steamcommunity.com/openid/123")
self._login_setup(user_url="https://fakesteamcommunity.com/openid/123")
with self.assertRaises(AuthFailed):
self.do_partial_pipeline()

0 comments on commit f38cd49

Please sign in to comment.