public inbox for [email protected]
help / color / mirror / Atom feedFrom: Khushboo Vashi <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test
Date: Wed, 23 Jan 2019 21:41:58 -0800
Message-ID: <CAFOhELfQrdAK5rVYdyEUFmujONnkwXcaMNnwDeqzht07_9uHQg@mail.gmail.com> (raw)
Hi,
Please find the attached patch to fix the syntax error on python 2.7 for
the feature test case.
The cause of this is the print function is not compatible with python 2.7
which has been fixed.
Thanks,
Khushboo
Attachments:
[text/x-patch] feature_test_fix_python2.patch (633B, 3-feature_test_fix_python2.patch)
download | inline diff:
diff --git a/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py b/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py
index c63ae6c5..27ac8c2c 100644
--- a/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py
+++ b/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py
@@ -7,6 +7,7 @@
#
##########################################################################
+from __future__ import print_function
from regression.python_test_utils import test_utils
from regression.feature_utils.base_feature_test import BaseFeatureTest
from selenium.webdriver import ActionChains
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test
In-Reply-To: <CAFOhELfQrdAK5rVYdyEUFmujONnkwXcaMNnwDeqzht07_9uHQg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox