Commit Graph

3070 Commits

Author SHA1 Message Date
6045b587e9
Config values are strings 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
2501212a82
Fix py3 incompatibilities in api:
- bytes in BMXMLRPCRequestHandler
    (copied relevant lines from xmlrpc.server once again),
  - used @six.add_metaclass for the metaclass and six.iteritems()

Closes: #1900
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
b66dfcaebb
Cast time as int before assembling addr message 2023-11-25 17:18:42 +02:00
0c07bb6257
Move all the network constants into the protocol, define also magic.
Closes: #1788.
2023-11-25 17:18:42 +02:00
b99670430f
Emphasize more magic imports in the network package 2023-11-25 17:18:42 +02:00
f6adb46ce6
The command arg of protocol.CreatePacket() is of type bytes 2023-11-25 17:18:42 +02:00
305d5d716c
Add a test for protocol.assembleAddrMessage() 2023-11-25 17:18:42 +02:00
7f376b0203
Move the contents of network.assemble to protocol 2023-11-25 17:18:11 +02:00
0f8fdb4b0b
Remove MailboxStorage TODO 2023-11-21 13:29:08 +02:00
c34b827f0f
Format storage.filesystem a bit 2023-11-01 13:38:48 +02:00
a629c15f7d
Fix appending in storage.filesystem for python3 2023-11-01 13:38:48 +02:00
8af1a13e10
Simplify storage abstract base definition 2023-11-01 13:38:48 +02:00
81f574c618
MutableMapping finally moved to collections.abc in py310 2023-11-01 13:38:48 +02:00
e1592a4260
Use dotted imports in the storage package to run on python3 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
12118606ec
Separate creating the Inventory instance from singleton 2023-11-01 13:38:48 +02:00
47d6fb1cbc
Use internal link to doc in docstring of isProofOfWorkSufficient() 2023-10-31 02:41:10 +02:00
9187e0c52d
Forgotten pylint comment for os._exit 2023-10-20 03:31:51 +03:00
d03aa7c412
Add a timeout for sql_ready waiting, exit from object processor if reached 2023-10-19 16:23:46 +03:00
e4488ba370
Move loading cryptors into objectProcessor init. 2023-10-19 16:23:15 +03:00
8e46aecfb0
Fix closing inbound connections if sendoutgoingconnections is False 2023-09-18 15:42:26 +03:00
8a1835e3ad
Api fix HandleDisseminatePreEncryptedMsg
- PoW target formula correction
- correctly decode expiration time / TTL, object type and destination
  stream
2023-01-06 15:57:29 +08:00
3fb6adad9b
Add Subscription and update test case of payment screen 2022-12-26 18:54:42 +05:30
255cffd061
Add Chat screen 2022-12-22 20:57:23 +05:30
7ee2217c4e
Fixed Create_random_address_generator kivy test 2022-12-05 21:04:44 +05:30
346b1a4084
Fixing navbar in addressbook 2022-12-05 11:46:50 +05:30
2d327352e2
In test cases assertEqual replaced with assertExist 2022-11-29 22:20:07 +05:30
d17eb6aeb9
Add test case for file manager opening and closing 2022-11-28 12:39:54 +05:30
9fa6b2ec2f
Refactor Kivy payment test case 2022-11-25 18:45:14 +05:30
39a5c9c92f
Add test case for myaddress, showing QR code and Send message from send button 2022-11-24 13:10:34 +05:30
54e7687f59
Add show QR-code in myaddress detail screen 2022-11-24 12:26:59 +05:30
364a9e814e
Add addressbook screen import and id/sc name 2022-11-23 13:08:19 +05:30
31534f7bbb
Add draft screen, helper widgets and Test 2022-11-23 12:03:38 +05:30
3b23977cbf
Rename btn to composer_dropwdown 2022-11-23 11:51:16 +05:30
929d9af945
Refactor mpybit and add msg_composer dropdown 2022-11-23 11:51:16 +05:30
76d6e4009b
Add back press in mpybit 2022-11-22 19:48:00 +05:30
5e2dcd70af
Fix docstrings in the api module 2022-11-22 12:41:21 +02:00
2785e56fab
Add more timeout in kivy setting screen test case 2022-11-21 12:41:55 +05:30