Commit Graph

20 Commits

Author SHA1 Message Date
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
49f9620236
Add sqlite functions while versioning 2021-04-26 18:30:55 +05:30
f8844f4d74
Use common.skip_python3() to skip tests modules not supporting python3 2021-02-17 17:11:25 +02:00
b650e97edc
Fix statuses for sendBroadcast 2020-10-28 15:25:46 +02:00
85f306e5f6
Covered more API commands by tests, listed uncovered in TODO 2020-09-14 13:11:43 +03:00
6c85bdd498
Also check sent broadcast status and it's presence in sent messages 2020-09-14 13:11:43 +03:00
fabbccbeac
Rewrote test_user_password() for xmlrpclib.ProtocolError:
it would be very difficult to return string from BMXMLRPCRequestHandler
2020-09-14 13:11:42 +03:00
lakshyacis
7839f83f20
test_api pylint fixes 2019-09-26 19:50:53 +05:30
ae76d369f2
A test for API command 'shutdown' 2019-08-01 12:04:12 +03:00
ae2cebb2a6
Minimal test for clientStatus consistency 2018-11-01 16:52:33 +02:00
2bbda63b9c
Added address length check 2018-10-22 17:18:24 +03:00
c8a781c7c5
Marked use of random, subprocess and xmlrpclib in tests
for skipping by bandit
2018-10-22 17:18:24 +03:00
d8b4682ee9
Style fixes and docstrings for tests 2018-10-22 17:18:23 +03:00
589900f7c3
Added a test for chan creation/joining 2018-10-22 17:18:23 +03:00
c49c131929
New test case class hierarchy:
- TestProcessProto has common setUpClass and tearDownClass methods
  - TestProcess is for testing the PyBitmessage process (using psutil)
2018-10-22 17:18:23 +03:00
c28d463261
Added doctstrings for all tests and a test for sendBroadcast API command 2018-10-22 17:18:23 +03:00
981dddade4
Added test for createRandomAddress API command 2018-10-22 17:18:23 +03:00
10346c84aa
Basic API tests and simple apinotify handler 2018-10-22 17:18:22 +03:00