aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/bans.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-29 11:45:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-29 11:59:48 +0000
commit77594c4f4acf58656344fbb2bd84e63da58d2703 (patch)
tree73bcd2d1fa91bd0b0bacbad22385c38e50e636b9 /tests/functional_tests/bans.py
parentMerge pull request #5548 (diff)
downloadmonero-77594c4f4acf58656344fbb2bd84e63da58d2703.tar.xz
functional_tests: fix python3 compatibility
Also add missing bans test to the default tests
Diffstat (limited to '')
-rwxr-xr-xtests/functional_tests/bans.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/bans.py b/tests/functional_tests/bans.py
index bb3051a6a..e859e58c9 100755
--- a/tests/functional_tests/bans.py
+++ b/tests/functional_tests/bans.py
@@ -28,6 +28,7 @@
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+from __future__ import print_function
import time
"""Test peer baning RPC calls
@@ -42,7 +43,7 @@ from framework.daemon import Daemon
class BanTest():
def run_test(self):
- print 'Testing bans'
+ print('Testing bans')
daemon = Daemon()
res = daemon.get_bans()