Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantinos Karmas <konskarm@gmail.com>2021-08-09 13:42:11 +0300
committerKonstantinos Karmas <konskarm@gmail.com>2021-08-09 13:42:11 +0300
commit3be4b1a44109d3e269ca8abe367b14bcd272a67f (patch)
treebd57564122eafee328b33418b439c195d098f9a6 /tests/TestOAuth2.py
parent5bf24ed678d623f99bbdaefc4c62edac02500a1e (diff)
Fix failing test
CURA-8441
Diffstat (limited to 'tests/TestOAuth2.py')
-rw-r--r--tests/TestOAuth2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestOAuth2.py b/tests/TestOAuth2.py
index 731a31690a..2c039b296a 100644
--- a/tests/TestOAuth2.py
+++ b/tests/TestOAuth2.py
@@ -238,7 +238,7 @@ def test__generate_auth_url() -> None:
"response_type": "code"
}
auth_url = authorization_service._generate_auth_url(query_parameters_dict, force_browser_logout = False)
- assert MYCLOUD_LOGOFF_URL + "?next=" not in auth_url
+ assert MYCLOUD_LOGOFF_URL + "&next=" not in auth_url
auth_url = authorization_service._generate_auth_url(query_parameters_dict, force_browser_logout = True)
- assert MYCLOUD_LOGOFF_URL + "?next=" in auth_url
+ assert MYCLOUD_LOGOFF_URL + "&next=" in auth_url