|
9747f65884
|
Define a protocol function for decoding object parameters outside of network
|
2024-04-05 00:37:50 +03:00 |
|
anand k
|
a39fc2cff5
|
Test cases for helper_inbox.py
|
2024-03-29 07:46:20 +05:30 |
|
anand-skss
|
b8749c6d7c
|
Rename mockpb dir to mockbm
|
2024-03-22 08:54:15 +00:00 |
|
anand k
|
563e557b1b
|
Test cases for helper_sent
|
2024-03-22 11:53:12 +05:30 |
|
anand k
|
2e98a1eb2d
|
Test cases for helper_sql & Added mock library dependency in requirements.txt
|
2024-03-21 11:25:10 +05:30 |
|
anand k
|
6d8c7f3bbc
|
Renamed mock dir to mockpb
|
2024-03-20 07:27:38 +05:30 |
|
|
7dc91af6d8
|
Fix typo and formatting in tests.core
|
2024-03-14 21:26:43 +02:00 |
|
anand k
|
d8843791ab
|
Test cases for multiqueue
|
2024-03-08 20:07:05 +05:30 |
|
|
348df1151f
|
Truly wait for pow in test_send_broadcast() in test_api
|
2024-02-26 17:22:39 +02:00 |
|
|
c45f1eae14
|
Test more deterministic commands, add timeouts in get from queue
|
2024-01-15 20:44:22 +02:00 |
|
|
9a96cab080
|
Make sample_seed bytes as in crypto
|
2024-01-15 20:44:22 +02:00 |
|
|
799aadc9bc
|
Rewrite TestAddressGenerator as a subclass of TestPartialRun,
edit docstrings and add more checks. Closes: #1895
|
2024-01-15 20:44:21 +02:00 |
|
|
d427c27e7e
|
Started a test case for address generator
|
2024-01-15 20:43:51 +02:00 |
|
|
c5ced60d5d
|
Move most of the logic of TestCore.test_udp() into the TestNetwork
|
2023-12-20 04:26:55 +02:00 |
|
|
606b6d7d08
|
Explicitly enable UDP in TestNetwork adding Announcer to the expected threads
|
2023-12-20 03:02:42 +02:00 |
|
|
0cb80801b1
|
Resolve pylint warnings in partial and test_api_thread - mostly suppress
|
2023-12-04 01:14:58 +02:00 |
|
|
7c153c0eb8
|
Mock network.stats for python3 in tests.partial
|
2023-12-02 00:46:35 +02:00 |
|
|
1b7a642d6a
|
Rewrite TestAPIThread as subclass of TestPartialRun
|
2023-12-02 00:45:55 +02:00 |
|
|
2c2a41d105
|
Add an obvious test for the 'statusBar' command
and remove some junk introduced in 9a194f0 .
|
2023-11-29 04:26:41 +02:00 |
|
|
a16a0cea5c
|
Rewrite imports in api for python3 and cut out those looking too tricky
|
2023-11-29 04:26:41 +02:00 |
|
|
81e6de1895
|
Started a standalone API test case
|
2023-11-29 04:26:05 +02:00 |
|
|
e8af6201e1
|
Fix the test for proofofwork.LogOutput()
|
2023-11-28 16:01:31 +02:00 |
|
|
0c07bb6257
|
Move all the network constants into the protocol, define also magic.
Closes: #1788.
|
2023-11-25 17:18:42 +02:00 |
|
|
305d5d716c
|
Add a test for protocol.assembleAddrMessage()
|
2023-11-25 17:18:42 +02:00 |
|
|
8af1a13e10
|
Simplify storage abstract base definition
|
2023-11-01 13:38:48 +02:00 |
|
|
9e9cffab33
|
Started a test case for inventory, so far using a filesystem backend
|
2023-11-01 13:38:48 +02:00 |
|
813492291816
|
e6ecaa5e7d
|
Add API endpoint to return inbound and outbound connections
|
2022-11-05 02:26:02 -04:00 |
|
|
58a9ee24dd
|
Cover the rest used methods of BMConfigParser with tests
|
2022-10-19 16:03:57 +03:00 |
|
|
8e05e4a178
|
A test case for the network start checks that:
- all the threads are started,
- it opens connections and updates stats.
A base class for partial run essentially mimics bitmessagemain.
|
2022-09-17 04:19:42 +03:00 |
|
|
78e16e61a0
|
Build tests into the windows bundle if DEBUG=True is set in pyinstaller spec
|
2022-08-07 17:36:21 +03:00 |
|
|
722f275172
|
Skip TestProcess.test_listening() on wine
|
2022-08-07 17:36:21 +03:00 |
|
|
a3214b8eea
|
Define TestSocketInet class
doing helper_startup.fixSocket() in setUpClass - to be inherited by
any test case using protocol.encodeHost().
|
2022-08-07 17:35:49 +03:00 |
|
|
20ce69b337
|
Add enableAddress API command and a check for sending from disabled address
|
2022-07-26 03:28:05 +03:00 |
|
|
b25ed553bc
|
Format for PEP8 test_api and samples (almost)
|
2022-07-26 03:28:05 +03:00 |
|
|
f311d9d25c
|
Add a check for sendBroadcast API command with nonexisting address
|
2022-07-26 03:28:05 +03:00 |
|
|
3be996eb64
|
Replace obsolete pycrypto with pycryptodome to support jammy:
pycrypto fails to install, openssl 3 has no ripemd160 hash.
Also skip test_crypto.TestHashlib if openssl 3 is found.
|
2022-05-30 21:32:56 +03:00 |
|
|
ae5a264df0
|
Update BMConfigParser and add test to enable/disable identity
|
2022-05-19 13:29:31 +05:30 |
|
|
3254d8f288
|
Add test sql scripts for sqlthread
|
2022-03-16 12:58:54 +05:30 |
|
|
e778ee9231
|
Add a test for BMConfigParser.setTemp()
|
2022-02-21 19:21:35 +02:00 |
|
|
858705357a
|
Format test_config
- for PEP8 compatibility, rewrite copypasted docstring,
- remove unused configfile slot, move pylint hint,
- define TestConfig.setUp(), creating BMConfigParser obj,
|
2022-02-21 19:18:36 +02:00 |
|
|
7d2b13e4ac
|
Format bmconfigparser:
- remove meaningless comments, rename strange args, fix line lengths,
- revert BMConfigParser.addresses() entanglement,
- revert BMConfigParser read_file -> readfp alias.
|
2022-02-21 18:46:37 +02:00 |
|
|
a5773999fe
|
Refactor BMConfigParser as a Module variable
|
2022-02-15 17:12:43 +05:30 |
|
|
4ec5eaf016
|
Kivy Mock backend added
|
2022-01-25 13:26:37 +05:30 |
|
|
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 |
|
|
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 |
|