Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

import/export: Fix black formatting.

Alex Vandiver1926daa244a6
diff --git a/zerver/tests/test_slack_importer.py b/zerver/tests/test_slack_importer.py
index 396baf2ea92..39e28dad966 100644
--- a/zerver/tests/test_slack_importer.py
+++ b/zerver/tests/test_slack_importer.py
@@ -64,7 +64,7 @@ def mocked_requests_get(*args: str, headers: Dict[str, str]) -> MockResponse:
if args != ("https://slack.com/api/users.list",):
return MockResponse(None, 404)
- if (headers.get("Authorization") != "Bearer xoxp-valid-token"):
+ if headers.get("Authorization") != "Bearer xoxp-valid-token":
return MockResponse({"ok": False, "error": "invalid_auth"}, 200)
return MockResponse({"ok": True, "members": "user_data"}, 200)