Commit Graph

3422 Commits

Author SHA1 Message Date
coffeedogs
0bceeca524
Changes based on style and lint checks. (final_code_quality_5) 2018-10-31 14:04:35 +00:00
coffeedogs
175916dbdd
Merge pull request #1356 from coffeedogs/final_code_quality_3
Changes based on style and lint checks. (final_code_quality_3)
2018-10-31 13:21:19 +00:00
coffeedogs
c875769b15
Changes based on style and lint checks. (final_code_quality_3) 2018-10-31 12:58:46 +00:00
coffeedogs
2d4cb1e2ce
Merge pull request #1358 from coffeedogs/final_code_quality_1
Changes based on style and lint checks. (final_code_quality_1)
2018-10-31 12:45:20 +00:00
coffeedogs
a72da271d5
Changes based on style and lint checks. (final_code_quality_1) 2018-10-31 12:37:10 +00:00
1c914d8cd8
flake8 and style correction for network.udp 2018-10-27 17:55:38 +03:00
625e83f4b4
Corrected style a bit 2018-10-27 17:55:02 +03:00
49985a435f
Special class BMStringParser for sending ACK (resolves #1374) 2018-10-27 17:55:02 +03:00
7c7d6781a2
Removed old code from protocol, shared, state
and class_objectProcessor modules (#1374), temporarily commented
  shared.checkAndShareObjectWithPeers() call
2018-10-27 17:55:01 +03:00
1c2bef46c1
e417b62 allows to remove sleep from cleaner test 2018-10-22 17:18:25 +03:00
5572e6b3a1
Suppress pylint warning about 'relative import' 2018-10-22 17:18:24 +03:00
daf556ca50
Added tests for knownnodes:
- import of pickled knownnodes;
  - default knownnodes if nothing imported;
  - knownnodes starvation (#1335), demanded changes in networkthread.
2018-10-22 17:18:24 +03: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
cfdb6beb54
Moved tests from helper_msgcoding into TestCore.test_msgcoding() 2018-10-22 17:18:24 +03:00
ce6e9804ad
Added tests_require keyword to setup() 2018-10-22 17:18:24 +03:00
ea8991c05b
Test case for config, not runs pybitmessage yet 2018-10-22 17:18:24 +03:00
d8b4682ee9
Style fixes and docstrings for tests 2018-10-22 17:18:23 +03:00
a3300ba8f1
A test case for core (which will be ran in main thread) 2018-10-22 17:18:23 +03:00
51df0507e2
Fixed signal files creation 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
5b1d2e56a1
Changes into test mode:
run in background, stop after 30 sec since last API response
2018-10-22 17:18:22 +03:00
coffeedogs
8aafb71024
Merge pull request #1364 from coffeedogs/final_code_quality_6
Changes based on style and lint checks. (final_code_quality_6)
2018-10-20 14:19:24 +01:00
coffeedogs
7ed459b644
Changes based on style and lint checks. (final_code_quality_6) 2018-10-18 19:46:01 +01:00
d8be7cd19a
Right check in module tr - right import order 2018-10-16 14:48:58 +03:00
533df80ce9
Resolving pylint warnings 2018-10-12 11:58:02 +03:00
bd5bdda009
Moved class singleAPI to api module and import api below config check 2018-10-12 11:58:02 +03:00
ef54bcaf82
The changes in #1325 are buggy. Implementing it properly. 2018-10-12 11:28:13 +03:00
b2c8b77938
Closes #1360: validate knownnodes received from the network 2018-10-12 11:16:57 +03:00
6969ec0ec9
Removed commented config check and added module docstring 2018-10-10 14:14:08 +03:00
e417b6257f
Fixes #1335:
- moved knownnodes cleanup to knownnodes module,
  - added a check for last node in stream initiating DNS based bootstrap.
2018-10-10 14:14:02 +03:00
4c184d8ffe
Fix import of pickled knownnodes.dat 2018-10-05 12:25:14 +03:00
95e300d7ca
Fix pylint Too many arguments Issue 2018-09-04 18:54:59 +05:30
a5833be1b7
Fix pylint Instance of 'str' has no 'ids' member issue 2018-09-04 18:35:22 +05:30
abd3e02d72
Fix pylint global variable undefined at the module level issue 2018-09-04 18:21:27 +05:30
f4d25ab0ed
Fix pylint global variable warning issue 2018-09-04 18:14:28 +05:30
f004021c6d
Fix pylint issues based on no-self 2018-09-01 17:15:39 +05:30
30fc79ed45
Fix pylint issues 2018-08-31 18:26:22 +05:30
686967c36d
Fix flake8 issues 2018-08-31 18:26:22 +05:30
f98acd3ae0
Implementing swipe left to right delete feature for inbox, sent message to be archieved in Kivy 2018-08-31 18:26:22 +05:30
d8a5b9356f
Implement sent item message loading feature for current account logged with dynamic dispatching of accounts 2018-08-31 18:26:22 +05:30
c163001ee8
Loadmessage list feature with current account get and ngletters images icon 2018-08-31 18:26:22 +05:30
b1f7489b09
Implemement Ui for Inbox Load feature with create new address based on random number 2018-08-31 18:26:22 +05:30
0bc1dfdc8b
Add src to path when running pylint
- this will allow pylint to run in the main directory without complaining about
  imports
2018-08-27 18:59:15 +02:00
Alexx Saver
50ee7fa740
Fix subprocess.check_call 2018-08-20 06:50:46 +04:00
b0446ab4ab
Improve pickle knownnodes error handling
- Fixes #1333 (untested)
2018-08-05 09:07:31 +02:00