Commit Graph

3767 Commits

Author SHA1 Message Date
ef01b56291
Updated binary operator line break code quality changes 2021-08-20 13:33:59 +05:30
9322a683fe
Updated binary operator line break code quality change 2021-08-19 14:11:49 +05:30
ed7f973b1c
Empty proofofwork.LogOutput on windows
based on AttributeError in __init__
2021-08-18 20:05:08 +03:00
f4f78a1011
Add a separate logging test case with a test for proofofwork.LogOutput() 2021-08-18 20:05:08 +03:00
174dffb360
Hide bmpow output and relog it
using contextmanager found in https://stackoverflow.com/questions/5081657.
Fixes: #1571
2021-08-18 20:05:08 +03:00
7ce0180eed
Updated if conditions in clean format in bitmessagecli.py 2021-08-18 17:08:17 +05:30
0640703409
Updated print spaces code quality changes for bitmessagecli.py
Reverted string spaces & bracket formating changes

Reverted raw_input changes

reverted uInput changes
2021-08-18 13:38:44 +05:30
98430c1cab
Use bytes everywhere in arithmetic 2021-08-17 15:57:08 +03:00
01b0fee4b4
Move to pyelliptic.tests also test_blindsig and test_openssl 2021-08-17 15:57:08 +03:00
6360c2773d
Separate pyelliptic tests from crypto tests and add simple tests for
changebase(), decode(), encode(), hex_to_point() and point_to_hex()
2021-08-17 15:57:08 +03:00
519bdfe175
Revert another portion of pasta from 49f9620 2021-08-17 15:57:07 +03:00
3bd3f8eda2
Separate the test using protocol.checkSocksIP() and skip it on python3
Closes: #1792
2021-08-17 15:57:07 +03:00
06643bbbf3
Do ord() on first two bytes of host in checkIPv6Address()
only in python2
2021-08-17 15:56:59 +03:00
c11186e7be
Move test_network_group into the TestProtocol 2021-08-17 15:56:59 +03:00
1edb4822be
Change supscriptions in protocol.checkIPv4Address()
to have bytes in python3
2021-08-17 15:56:59 +03:00
805e4097e2
Enable test_protocol and add more in TestProtocol:
- a simple test for protocol.checkIPv4Address()
 - more checks and IPv6 sample in the test_check_local()
 - a test for protocol.checkIPv6Address()
2021-08-17 15:56:27 +03:00
1e7be609ed
Use bytes in all the comparisons in the protocol.checkIP*Address(),
concatenate bytes in protocol.encodeHost().
2021-08-17 15:56:26 +03:00
8a5d8ecd4c
Collect samples from test_api 2021-08-17 15:56:26 +03:00
e76a47779e
Gather all the sample data in a samples module 2021-08-17 15:56:26 +03:00
c1ea75c7a3
Define __all__ in highlevelcrypto and make all literals bytes 2021-08-17 15:55:55 +03:00
ddb366b477
Separate address tests from crypto and rename the test case 2021-08-13 19:04:03 +03:00
159245b72e
fixed imports 2021-08-13 20:46:22 +05:30
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
66e8dbf621
Download vcredist_x86 from web.archive.org, the original is gone 2021-08-02 13:45:24 +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
2ace579107
Runtime hook for pyinstaller to load plugins and setup %PATH%. 2021-08-02 13:45:23 +03:00
11cf001d1a
Support running plugins menu_qrcode and proxyconfig_stem on Windows
by bundling needed metadata into exe.
2021-08-02 13:45:16 +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
5fa8115273
Improve the appimage recipe:
- add sni-qt into the appimage for tray icon
  - remove python-stem - it's not functional and needs debugging
  - exclude more libs: ncurses, readline
2021-07-02 21:19:02 +03:00
cd21d34e62
Fix the issue with python2 in the appimage (closes: #1769) 2021-07-02 18:25:56 +03:00
bfad6cf69d
AppImage build script (fixes: #1450) 2021-06-29 13:21:55 +03:00
6463a4833a
AppImage recipe 2021-06-29 13:21:23 +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