From a3144bd7c8dd428c523fcd0c4db521dc7f4cf3c2 Mon Sep 17 00:00:00 2001
From: moneromooo-monero <moneromooo-monero@users.noreply.github.com>
Date: Tue, 19 Mar 2019 16:21:06 +0000
Subject: functional_tests: add more transfer tests

manual relay, transfer to integrated address, and a few negative
transfer tests
---
 tests/functional_tests/test_framework/daemon.py | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'tests/functional_tests/test_framework')

diff --git a/tests/functional_tests/test_framework/daemon.py b/tests/functional_tests/test_framework/daemon.py
index 0d0eda7dc..11d5f5845 100644
--- a/tests/functional_tests/test_framework/daemon.py
+++ b/tests/functional_tests/test_framework/daemon.py
@@ -47,6 +47,13 @@ class Daemon(object):
         }
         return self.rpc.send_json_rpc_request(getblocktemplate)
 
+    def send_raw_transaction(self, tx_as_hex, do_not_relay = False):
+        send_raw_transaction = {
+            'tx_as_hex': tx_as_hex,
+            'do_not_relay': do_not_relay,
+        }
+        return self.rpc.send_request("/send_raw_transaction", send_raw_transaction)
+
     def submitblock(self, block):
         submitblock = {
             'method': 'submitblock',
-- 
cgit v1.2.3