Commit Graph

3626 Commits

Author SHA1 Message Date
1f7ab287fd
Merge branch 'api' into testing 2021-12-15 22:21:19 +02:00
0cdb2939cf
Merge branch 'testing-complex' into testing 2021-12-15 22:17:09 +02:00
366cf044fc
Merge branch 'crypto' into testing 2021-12-15 22:17:02 +02:00
f8d9a68d13
Merge branch 'tests-plugin' into testing 2021-12-15 22:16:55 +02:00
6d7bdcb98a
Merge branch 'doc' into testing 2021-12-15 22:16:40 +02:00
962ddbcc2e
Merge branch 'windows-binary' into testing 2021-12-15 22:16:36 +02:00
4da11e753e
Run tests in portable mode in a separate step 2021-12-15 22:15:49 +02:00
017d835bd7
Exclude from flake8:
bitmessagecli,bitmessagecurses - unmaintained, umsgpack - external,
network - second order.
2021-12-15 22:15:49 +02:00
89801d0be2
Add linting, including bandit, flake8 should error in near future 2021-12-15 22:15:48 +02:00
0b9bf94cc2
Add ubuntu-latest 2021-12-15 22:15:48 +02:00
9dd87f2c4e
Install and start tor on macos only for py2.7 - for core tests 2021-12-15 22:15:48 +02:00
397dec3f89
Setup a github workflow for python testing 2021-12-15 22:15:48 +02:00
803937290f
Started a dummy test for random keys in pyelliptic.ECC() 2021-12-15 22:13:52 +02:00
46c15e815d
Tests for keys generation
this implementation for deterministic keys requires a passphrase of type bytes
2021-12-15 22:13:52 +02:00
7e21dd7ca1
Define functions for generating keys in the highlevelcrypto 2021-12-15 22:13:52 +02:00
bbede1d449
A dummy test for randomBytes 2021-12-15 22:13:52 +02:00
f3ccc361fc
Move randomBytes to highlevelcrypto 2021-12-15 22:13:51 +02:00
b80fb5a675
Use proofofwork.trial_value() in tests.test_openclpow 2021-12-15 22:13:51 +02:00
659b292357
test_wif(): import from highlevelcrypto and add encoding checks 2021-12-15 22:13:51 +02:00
8942f63d06
Moved decodeWalletImportFormat() from shared to highlevelcrypto,
not addresses, where it's supposed to be because it uses
pyelliptic.arithmetic, addresses.decodeBase58() returns int which needs
to be encoded. Defined encodeWalletImportFormat() and replaced all uses.
2021-12-15 22:13:47 +02:00
15039cea94
The test 2021-12-15 22:11:57 +02:00
ba2d0e2687
Start adding hashes with double SHA512 2021-12-15 22:11:57 +02:00
07f815c28b
Add a test for WIF decoding 2021-12-15 22:11:57 +02:00
0290607538
Add tests for base58 and WIF decoding using pyelliptic.arithmetic 2021-12-15 22:11:57 +02:00
32e7e863f8
Don't use BMConfigParser in highlevelcrypto, instead use digestAlg kwarg 2021-12-15 22:11:57 +02:00
4b3c387634
Add a test for sign() and verify() 2021-12-15 22:11:57 +02:00
7d4977364d
Minimal test for plugins checking pkg_resources 2021-12-15 22:10:51 +02:00
83467ee000
A test for playSound(): raises an exception if there is no plugin 2021-12-15 22:10:41 +02:00
d45014e558
Format test_api for PEP8 2021-12-15 18:34:22 +02:00
0a2470ebb7
Use BMConfigParser.safeGetBoolean() in the methods for send* API commands 2021-12-15 18:34:22 +02:00
006632f5d1
Add a check for sendBroadcast API command with nonexisting address 2021-12-15 18:34:22 +02:00
784562ca01
Fix the qidenticon PyQt5 bug (closes: #1901) 2021-12-15 18:24:36 +02:00
f74ed21f3a
Reproduce the bug in qidenticon related to PyQt5 2021-12-15 18:24:35 +02:00
05046154da
update androiddev.sh for docker 2021-12-15 18:12:21 +05:30
8d779f3760
Added more instructions to INSTALL.md, rearranges the steps and added warning for ubuntu 20 & greater 2021-12-15 12:19:31 +05:30
971c79b3f5
Added dynamic version of appimage build 2021-12-14 20:57:59 +05:30
5bc92987c0
Fixed appimage build 2021-12-14 16:03:16 +05:30
6f1f47fb6a
Bundle the packages needed for json and xml extras into appimage 2021-12-13 15:57:06 +02:00
7740d54ce7
Bundle also json and xml extras into windows exe (fixes: #1903) 2021-12-13 15:56:32 +02:00
Teruteru
0133fe7907
Remove unnecessary newline characters from the error log 2021-12-13 20:19:08 +09:00
ef2d005957
Fix #1898 2021-12-11 16:32:54 +02:00
bfe7dd16e9
Reproduce the bug described in #1898 using test_addressbook() 2021-12-11 16:32:48 +02:00
154ecc410c
Added custom error message in message_inbox testcase 2021-12-06 19:17:59 +05:30
5771f21cfb
Added undeleteMessage function in helper_inbox & respective method in api.py and separated inbox & trash testcases 2021-12-02 19:11:38 +05:30
16175278a8
Merged inbox & trash functions related testcases into single testcase method 2021-12-02 19:11:38 +05:30
21d5a6ce8f
Instead of print added getAllInboxMessages values in assertEqual message parameter 2021-12-02 19:11:37 +05:30
62ffe96bc8
Added anouncement addr comment, replaces assertTrue with assertEqual & added print for getAllInboxMessages to check build failure 2021-12-02 19:11:37 +05:30
56ec5b8a03
Created testmode decorator & routed command decorator through it 2021-12-02 19:11:36 +05:30
21cb4e516d
Added testmode check for HandleclearUISignalQueue & HandleGetStatusBar functions, replaced sample_inbox_msg_receiver_address by sample_deterministic_addr4 2021-12-02 19:11:36 +05:30
9a194f0bae
Added statusBar, getAllInboxMessages, getAllInboxMessageIds, getInboxMessageById, getInboxMessagesByReceiver, trashMessage, trashInboxMessage & addSubscription, methods testcases & updated related functions 2021-12-02 19:11:35 +05:30