2a8e91e6a7
Fixing tor related tests:
...
- knownnodes.cleanupKnownNodes() should set knownNodesActual = False
if there are no nodes in stream 1 (repeated bootstrapping)
- set socksproxytype before _initiate_bootstrap()
- wait 5 sec in _initiate_bootstrap() to be sure all connections are closed
- plugins do not work on travis - use socksproxytype = SOCKS5,
check tor presence by trying to bind on port 9050
- successfull connection to 3 onion nodes in 6 minutes is not guaranteed -
check that bitmessage doesn't try non-onion nodes
2021-04-07 15:47:27 +05:30
9b27e6734a
Another possible approach for connection check
2021-04-07 15:47:26 +05:30
93c86bc8d5
A separate test for connection to bootstrap servers
2021-04-07 15:47:26 +05:30
navjot
0283339138
add Gpu skip condition and setupclass in test_openclpow module
2021-04-07 15:47:25 +05:30
navjot
27383ff635
test case for openclpow module
2021-04-07 15:47:25 +05:30
navjot
a5786f72e6
replace print with logger and remove unused file
2021-04-07 15:47:25 +05:30
8dd766fcb8
detach kivy version from upstream
2021-04-07 15:47:24 +05:30
navjot
07a1ce9914
imported helper_addressGenerator module
2021-04-07 15:47:24 +05:30
navjot
7825229444
updated addressbook table in class_sqlThread module
2021-04-07 15:47:24 +05:30
navjot
c61436a5ca
written test case for addressbook
2021-04-07 15:47:23 +05:30
navjot
4e1990b63e
fixed Own address should not save in address book issue
...
- removed redundant code
- written test case for address book own address saving
- fixed CQ issues
- added helper_addressbook module
- Fixed CQ issue of src.helper_addressbook module
- fixed travis-ci checks failing issue
2021-04-07 15:47:23 +05:30
navjot
8763c80bad
added general exception handler
2021-04-07 15:47:22 +05:30
navjot
c96f51b193
ignoring ValueError from proofofwork module
2021-04-07 15:47:22 +05:30
navjot
16ded2c558
added timer of less then 10 seconds
2021-04-07 15:47:22 +05:30
navjot
d24bf4b8af
remove qt dependency
2021-04-07 15:47:21 +05:30
navjot
6e236680cd
add helper_addressGenerator module
2021-04-07 15:47:21 +05:30
813492291816
6e69755c8a
Add missing TTL to API sendMessage
2021-04-07 15:47:20 +05:30
e084d7f53c
objectProcessor
waits for sqlThread
ready
...
- fixes #1702
2021-01-03 11:14:27 +01:00
184664d758
SQL operations asserts and code quality
...
- complain if trying to execute SQL statements without a running
`.threads.sqlThread`. This is to give better test feedback if used
incorrectly
- refactor `.helper_sql.sql_ready` as a `threading.Event`
- code quality
2021-01-01 17:54:05 +01:00
navjot
7a010441c3
Fixed flake8 CQ issues
2020-12-30 20:01:33 +05:30
navjot
46e2f04488
move randomtrackingdict.py out side the network dircetory
2020-12-29 13:12:22 +05:30
navjot
a2ab0a02dc
written test case randomtrackingdict dict module
2020-12-28 16:01:23 +05:30
navjot
9fe4ad0489
test case for testing old knownnodes pickle
...
-test case for testing old knownnodes pickle
-fixed CQ for tests.core module
-implemented shutil.copyfile feature and use small size knownnodes.dat file in test_pattern dir
-remove unnecessary code
-Fixed CQ of tests.core module
2020-12-21 22:50:38 +05:30
navjot
9265235053
fixed network issue when it is set offline
2020-11-23 17:52:20 +05:30
navjot
124e6d9b32
fix for #1656 issue
2020-11-23 17:52:20 +05:30
navjot
1c304125e8
fixed CQ issues
2020-11-21 13:53:10 +05:30
navjot
4681d37377
validate address in insert method and improve test cases
2020-11-21 13:53:10 +05:30
navjot
360539b320
Fixed CQ of class_objectProcessor, bitmessagecurses and bitmessageqt module
2020-11-21 13:53:10 +05:30
navjot
61f7f32dfc
removed unused code and return ackdata from inset method insted of msgid
2020-11-21 13:53:10 +05:30
navjot
beaece254c
omitted unused code and optimized it
2020-11-21 13:53:10 +05:30
navjot
89254064f6
fixed default variables in insert method
2020-11-21 13:53:10 +05:30
navjot
5eff9d6a04
Fixed CQ for tests.core module
2020-11-21 13:53:10 +05:30
navjot
a9e9f25b5d
change helper_sent.insert methods
2020-11-21 13:53:10 +05:30
navjot
0ec15d1d4d
Test case for insert method default values
2020-11-21 13:53:10 +05:30
navjot
1bc3fe7b42
added checks in helper_sent module
2020-11-21 13:53:10 +05:30
navjot
b7d920d529
Fixed CQ for test/core.py module
2020-11-21 13:53:10 +05:30
navjot
0023fc4b3d
Written test case for helper_sent.insert method
2020-11-21 13:53:10 +05:30
navjot
e60d12ddbf
Refactord the uuid creation code and placed it in helper_sent.insert method
...
refactored on the bases of comments
Fixed CQ of src.helper_sent module
fixed CQ for helper_sent module
2020-11-21 13:53:10 +05:30
navjot
881351033f
replaced insert into sent query with helper_sent.insert method and also replaced empty msgid with uuid
2020-11-21 13:53:10 +05:30
813492291816
601158f6fb
add pendingDownload to return of API clientStatus
2020-11-21 01:00:11 +00:00
cb0710e454
Fix updateStatusBar wrong args order
2020-11-04 16:24:58 +02:00
caf3a3fbbc
A test for updateStatusBar command
2020-11-04 16:24:58 +02:00
695140d57d
Save exceptions in the main thread in excQueue
2020-11-04 16:24:52 +02:00
84b5f2982c
Allow running pybitmessage -t without tests package
2020-11-04 14:25:21 +02:00
db11d6331f
Optimize setUpClass() and tearDownClass() in test_process
2020-11-03 17:14:00 +02:00
96a784b58b
Merged PeterSurda/teardown-test1:
...
- reset BMConfigParser before reading config file
- enable threads name check on posix systems
- check singleton.lock in TestProcessProto.setUpClass()
2020-11-03 17:14:00 +02:00
b65f2d154a
Common basic cleanup procedure
2020-11-03 17:14:00 +02:00
1bcffd2853
Make TestLogger a subclass of TestProcessProto
2020-11-02 18:01:51 +02:00
cf4e812334
Allow TestProcess subclasses set home dir, use mkdtemp for test_config
2020-11-02 18:01:51 +02:00
affdb2fdc0
Solve problem with subprocess.call() on windows:
...
- uncomment console_scripts (only for windows) to get exe
- replace call() with Popen() to avoid blocking
2020-11-02 18:01:50 +02:00