aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/invalidtxrequest.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-01-17 18:34:40 -0500
committerJohn Newbery <john@johnnewbery.com>2017-02-23 10:31:04 -0500
commit3f95a806b1cd2f3c944bda7bcc266498a59326e4 (patch)
treea1370c242d232e14a1c31a8bf203f7236342b953 /qa/rpc-tests/invalidtxrequest.py
parent61a640ea9741e5e76b945699a8332b0a9923339b (diff)
Fix docstrings in qa tests
This commit fixes the module-level docstrings for the tests and helper modules in qa. Many of these tests were uncommented previously - this commit ensures that every test case has at least a minimum level of commenting.
Diffstat (limited to 'qa/rpc-tests/invalidtxrequest.py')
-rwxr-xr-xqa/rpc-tests/invalidtxrequest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/rpc-tests/invalidtxrequest.py b/qa/rpc-tests/invalidtxrequest.py
index 93205d79de..a9ac231f09 100755
--- a/qa/rpc-tests/invalidtxrequest.py
+++ b/qa/rpc-tests/invalidtxrequest.py
@@ -2,6 +2,10 @@
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+"""Test node responses to invalid transactions.
+
+In this test we connect to one node over p2p, and test tx requests.
+"""
from test_framework.test_framework import ComparisonTestFramework
from test_framework.comptool import TestManager, TestInstance, RejectResult
@@ -9,9 +13,6 @@ from test_framework.blocktools import *
import time
-'''
-In this test we connect to one node over p2p, and test tx requests.
-'''
# Use the ComparisonTestFramework with 1 node: only use --testbinary.
class InvalidTxRequestTest(ComparisonTestFramework):