48fd76d48b
enabled python3
2021-08-13 20:46:21 +05:30
e1e23374ad
Updated code quality blank line related changes
...
Reverted test_openclpow.py code quality change
2021-08-12 13:18:25 +05:30
0becc5bdeb
Updated code quality binary operator based changes in api.py
2021-08-11 21:26:15 +05:30
f6cb3ad016
Fix bug in test_send_broadcast() - using temporary msgid for lookups.
...
Wait for final msgid. Maximum PoW wait time is 30 sec.
2021-08-02 13:58:54 +03:00
b83c3f42d2
Rely on test_process for skipping python3;
...
use six.moves for xmlrpc-related imports
2021-08-02 13:54:22 +03:00
698123afec
Make TestAPIShutdown much like TestProcessShutdown
...
(this version should pass on Fedora)
2021-08-02 13:54:21 +03:00
297989de07
Set dontconnect in helper_startup.start_proxyconfig() if plugin fail
...
instead of exiting.
2021-08-02 13:45:23 +03:00
5b4574e9c6
Support proxyconfig_stem on Windows
2021-08-02 13:45:23 +03:00
a757c26d09
test_blindsig: use bytes() on bytearray() everywhere, not str()
2021-07-28 15:29:55 +03:00
f9c49fbeb3
Import queue from six.moves in the top level module
2021-07-28 14:33:41 +03:00
db21f3ea6b
Revisit helper_startup: rewrite weird imports, fix W504 and line length
2021-07-28 14:33:41 +03:00
b75585f26c
Rewritten the weird imports in debug
2021-07-28 14:33:13 +03:00
822f58ea5d
Rewritten weird imports in class_sqlThread and fixed import from tr
2021-07-20 21:39:58 +03:00
cis
eb85efe3e5
pybitmessage kivy app test cases and test script
2021-07-20 15:06:27 +05:30
a9488fb120
Don't add nonfunctional proxyconfig plugins in the Settings dialog
2021-07-02 21:22:39 +03:00
73c7a09cb9
Skip test_sqlthread in python3; place noqa globally for flake8
...
and on each import to suppress pycodestyle warnings.
2021-06-18 18:49:36 +03:00
199b8c8ea5
Revert hidden import in tr, try python2 imports first
2021-06-18 18:20:32 +03:00
7b84c396fb
Revert hidden import of pyelliptic.openssl in helper_random
2021-06-18 18:20:32 +03:00
1219358c38
Checkup application files in the src dir after tests ( closes : #1765 )
2021-06-18 18:20:06 +03:00
b1a0a54d56
Remove bikeshed from the new sqlthread test case
2021-06-18 18:19:48 +03:00
583ed2151d
Make test_onionservicesonly() more predictable:
...
- load knownnodes from test_bootstrap() before check
- generate fake onion nodes if still have not enough
2021-06-14 20:01:50 +03:00
ec2143f9f4
signed commit
2021-06-04 23:24:05 +05:30
3ac8f15ff1
fixed absolute imports
2021-06-04 23:24:04 +05:30
1ef6b34e93
ported test_randomtrackingdict to python3
2021-06-04 23:24:02 +05:30
bb144d78f6
Reverting some strange logic and formatting. Insted use six
...
- to replace basestring with compatible type
- for unified configparser import
2021-05-02 18:15:08 +03:00
d5666f7ffc
Revert hidden imports in queues ( Fixes : #1758 )
2021-05-01 01:13:27 +03:00
64d2a831c4
Fix line break after binary operator in proxy
2021-04-29 17:44:01 +03:00
1ad86bcb5b
Init uploadChunk and downloadChunk in AdvancedDispatcher
2021-04-29 17:44:00 +03:00
8cf0a0bb46
Move initialization of connectedAt to AdvancedDispatcher
2021-04-29 17:44:00 +03:00
2c6f3c2fe1
Formatted lines for PEP8 in network.tls, removed stale comments
2021-04-29 17:44:00 +03:00
3f63278468
Done PEP8 formatting in network.bmproto ( Fixes : #1703 )
2021-04-29 17:44:00 +03:00
49f9620236
Add sqlite functions while versioning
2021-04-26 18:30:55 +05:30
f5fba7d1a8
update changes and rename file name
2021-04-06 13:04:44 +05:30
f075d27fae
add dot in importing
2021-04-05 19:08:10 +05:30
1b8dc18ef6
remove functions imports
2021-04-05 18:28:26 +05:30
06cab993d9
Fix configparser import error
2021-04-01 21:06:22 +05:30
6f9b66ddff
Qt test for UDP setting
2021-03-01 19:55:48 +02:00
79efacffb1
Replaced lost UDPSocket.maxTimeOffset by constants.MAX_TIME_OFFSET
...
Closes : #1696
2021-03-01 19:55:47 +02:00
6ee6989df2
A minimal test for UDP. Restore expected default settings in tearDown().
2021-03-01 19:55:30 +02:00
5f9d507717
announceInterval is for AnnounceThread, not UDPSocket
2021-02-22 19:56:24 +02:00
6168d63699
Replace formatting socket.error by exc_info in network.udp
2021-02-22 19:56:24 +02:00
8ff8e0e2cb
Make it possible to disable UDP announcing in settings
2021-02-22 19:56:23 +02:00
ef849d2dd3
Handle old psutil in TestProcess
2021-02-18 17:15:56 +02:00
d8cf148d4a
Replaced print operator by print function in network.asyncore_pollchoose
...
and unmaintained modules.
2021-02-18 17:15:56 +02:00
81645eadef
Remove import from debug from openclpow, remove shebang, format
2021-02-18 17:15:56 +02:00
e77238fa07
Support tox and request more warnings:
...
- make separate tests runner - tests.py; python setup.py test still works
- tox.ini with coverage config
- -b: issue warnings about comparing bytearray with unicode
- export PYTHONWARNINGS=all on stage install
2021-02-18 17:12:43 +02:00
0f8528cc48
Fix python3 issues in test_blindsig:
...
- simplify imports
- signatures are of type bytes
- chain kwarg of pyelliptic.ECCBlindChain is bytes
2021-02-18 17:12:42 +02:00
faed885c34
Fix python3 issues in test_crypto:
...
- use bytes for python3
- encode the result of arithmetic.privtopub
- add test for arithmetic.base10_multiply
2021-02-18 17:12:42 +02:00
5bd3bd4711
Make addresses module available for testing with python3:
...
- remove import from debug
- use divmod and bytes
2021-02-18 17:12:42 +02:00
5976a449e2
test_randomtrackingdict: revert bytes to string for python3
2021-02-18 17:12:42 +02:00