Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
7 years ago
John Newbery
5448a1471d
[tests] don't override __init__() in individual tests
...
Almost all test scripts currently need to override the __init__()
method. When they do that they need to call into super().__init__() as
the base class does some generic initialization.
This commit makes the base class __init__() call into set_test_params()
method. Individual test cases can override set_test_params() to setup
their test parameters.
7 years ago
John Newbery
c9cc76dcaa
[tests] Remove is_network_split from funtional test cases
8 years ago
John Newbery
c28ee91db0
Rename rpc-tests directory to functional
8 years ago
John Newbery
00902c48cd
Rename qa directory to test
8 years ago
John Newbery
3f95a806b1
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.
8 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
MarcoFalke
fa24456d0c
[qa] httpbasics: Actually test second connection
9 years ago
MarcoFalke
fab3890156
[qa] rpc-test: Normalize assert()
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Wladimir J. van der Laan
41db8c4733
http: Restrict maximum size of request line + headers
...
Prevent memory exhaustion by sending lots of data.
Also add a test to `httpbasics.py`.
Closes #6425
9 years ago
Wladimir J. van der Laan
8f9301cdaa
qa: Remove -rpckeepalive tests from httpbasics
...
This option was a temporary workaround, and is no longer necessary
with the new web server.
9 years ago
Jonas Schnelli
9d79afe9a9
add RPC tests for setban & disconnectnode
10 years ago
Jonas Schnelli
433fb1a95d
[RPC] extend setban to allow subnets
10 years ago
Jonas Schnelli
1086ffba26
[QA] add setban/listbanned/clearbanned tests
10 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago
Jonas Schnelli
1a25a7edf8
[QA] fix httpbasic keep-alive test
10 years ago
Jonas Schnelli
1dd8ee72af
improve tests for #5655
10 years ago
Wladimir J. van der Laan
56c1093dae
fix tests for #5655
10 years ago
Jonas Schnelli
7a3b83269e
[QA] fix httpbasics RPC test typo
10 years ago
Jonas Schnelli
11d7a7d505
[RPC] add rpc-test for http keep-alive (persistent connections)
10 years ago