Commit Graph

14 Commits

Author SHA1 Message Date
Dmitri Bogomolov 85f306e5f6
Covered more API commands by tests, listed uncovered in TODO 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov 6c85bdd498
Also check sent broadcast status and it's presence in sent messages 2020-09-14 13:11:43 +03:00
Dmitri Bogomolov 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
Dmitri Bogomolov ae76d369f2
A test for API command 'shutdown' 2019-08-01 12:04:12 +03:00
Dmitri Bogomolov ae2cebb2a6
Minimal test for clientStatus consistency 2018-11-01 16:52:33 +02:00
Dmitri Bogomolov 2bbda63b9c
Added address length check 2018-10-22 17:18:24 +03:00
Dmitri Bogomolov c8a781c7c5
Marked use of random, subprocess and xmlrpclib in tests
for skipping by bandit
2018-10-22 17:18:24 +03:00
Dmitri Bogomolov d8b4682ee9
Style fixes and docstrings for tests 2018-10-22 17:18:23 +03:00
Dmitri Bogomolov 589900f7c3
Added a test for chan creation/joining 2018-10-22 17:18:23 +03:00
Dmitri Bogomolov 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
Dmitri Bogomolov c28d463261
Added doctstrings for all tests and a test for sendBroadcast API command 2018-10-22 17:18:23 +03:00
Dmitri Bogomolov 981dddade4
Added test for createRandomAddress API command 2018-10-22 17:18:23 +03:00
Dmitri Bogomolov 10346c84aa
Basic API tests and simple apinotify handler 2018-10-22 17:18:22 +03:00