kevkevin
7bb83f6718
test: create assert_not_equal util and add to where imports are needed
...
In the functional tests there are lots of cases where we assert != which
this new util will replace, we also are adding the imports and the new assertion
2025-04-01 08:39:24 -04:00
Hennadii Stepanov
a0473442d1
scripted-diff: Add __file__
argument to BitcoinTestFramework.init()
...
-BEGIN VERIFY SCRIPT-
sed -i -e 's/\s*().main\s*()/(__file__).main()/' $(git ls-files test/functional/*.py)
sed -i -e 's/def __init__(self)/def __init__(self, test_file)/' test/functional/test_framework/test_framework.py
-END VERIFY SCRIPT-
2024-07-16 22:06:47 +01:00
Martin Zumsande
8a20f765cc
test: drop duplicate getaddrs from p2p_getaddr_caching
...
python p2p instances will automatically send a getaddr msg after
connecting, the explicit message was a duplicate that was being ignored.
2023-07-25 10:34:29 -04:00
Jon Atack
459cb637ac
script, test: fix python linter E275 errors with flake8 5.0.4
2023-01-03 10:59:56 -08:00
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
2022-12-24 23:49:50 +00:00
MacroFake
fa7a711a30
test: Fix out-of-range port collisions
2022-06-10 15:56:07 +02:00
dergoegge
ea54ba2f42
[test] Fix port collisions caused by p2p_getaddr_caching.py
2022-06-08 21:00:45 +02:00
dergoegge
292828cd77
[test] Test addr cache for multiple onion binds
2022-06-02 19:14:17 +02:00
Fabian Jahr
590bda79e8
scripted-diff: Remove setup_clean_chain if default is not changed
...
-BEGIN VERIFY SCRIPT-
git grep -l "self.setup_clean_chain = False" test/functional/*.py | xargs sed -i "/self.setup_clean_chain = False/d";
-END VERIFY SCRIPT-
2021-02-01 23:13:38 +01:00
Gleb Naumenko
0d04784af1
Refactor the functional test
2020-09-02 10:33:18 +03:00
John Newbery
85165d4332
scripted-diff: Rename mininode to p2p
...
-BEGIN VERIFY SCRIPT-
sed -i 's/\.mininode/\.p2p/g' $(git grep -l "mininode")
git mv test/functional/test_framework/mininode.py test/functional/test_framework/p2p.py
-END VERIFY SCRIPT-
2020-08-21 15:52:20 +01:00
John Newbery
9e2897d020
scripted-diff: Rename mininode_lock to p2p_lock
...
-BEGIN VERIFY SCRIPT-
sed -i 's/mininode_lock/p2p_lock/g' $(git grep -l "mininode_lock")
-END VERIFY SCRIPT-
2020-08-21 15:52:13 +01:00
Gleb Naumenko
3bd67ba5a4
Test addr response caching
2020-07-30 14:38:50 +03:00