Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Use real path when getting commands in TestCommandsCanStart.
Mateusz Mandera74d3e83e245a
diff --git a/zerver/tests/test_management_commands.py b/zerver/tests/test_management_commands.pyindex ddf0916fe7b..6d6bc554a13 100644--- a/zerver/tests/test_management_commands.py+++ b/zerver/tests/test_management_commands.py@@ -183,7 +183,7 @@ class TestCommandsCanStart(ZulipTestCase):self.commands = [commandfor app_config in apps.get_app_configs()- if os.path.dirname(app_config.path) == settings.DEPLOY_ROOT+ if os.path.dirname(os.path.realpath(app_config.path)) == settings.DEPLOY_ROOTfor command in find_commands(os.path.join(app_config.path, "management"))]assert self.commands