Commit Graph

3353 Commits

Author SHA1 Message Date
navjot
f146500b58
written test case for addressbook 2021-01-14 15:43:30 +05:30
navjot
42037502ab
fixed Own address should not save in address book issue
- removed redundant code

- written test case for address book own address saving

- fixed CQ issues

- added helper_addressbook module

- Fixed CQ issue of src.helper_addressbook module

- fixed travis-ci checks failing issue
2021-01-14 15:43:30 +05:30
navjot
09439b4a0d
added general exception handler 2021-01-13 20:29:20 +05:30
navjot
5fb8692eb6
ignoring ValueError from proofofwork module 2021-01-13 20:29:20 +05:30
navjot
ac23a397a1
added timer of less then 10 seconds 2021-01-13 14:14:26 +05:30
navjot
14a4f42fc0
remove qt dependency 2021-01-12 20:09:36 +05:30
navjot
16e9319d5f
add helper_addressGenerator module 2021-01-08 17:41:33 +05:30
813492291816
a0e1c0041f
Add missing TTL to API sendMessage 2021-01-07 19:51:12 -05:00
e084d7f53c
objectProcessor waits for sqlThread ready
- fixes #1702
2021-01-03 11:14:27 +01:00
184664d758
SQL operations asserts and code quality
- complain if trying to execute SQL statements without a running
  `.threads.sqlThread`. This is to give better test feedback if used
  incorrectly
- refactor `.helper_sql.sql_ready` as a `threading.Event`
- code quality
2021-01-01 17:54:05 +01:00
navjot
7a010441c3
Fixed flake8 CQ issues 2020-12-30 20:01:33 +05:30
navjot
46e2f04488
move randomtrackingdict.py out side the network dircetory 2020-12-29 13:12:22 +05:30
navjot
a2ab0a02dc
written test case randomtrackingdict dict module 2020-12-28 16:01:23 +05:30
navjot
9fe4ad0489
test case for testing old knownnodes pickle
-test case for testing old knownnodes pickle

-fixed CQ for tests.core module

-implemented shutil.copyfile feature and use small size knownnodes.dat file in test_pattern dir

-remove unnecessary code

-Fixed CQ of tests.core module
2020-12-21 22:50:38 +05:30
navjot
d2a340d012
implemented dependency checks in checkdeps module 2020-11-25 19:52:27 +05:30
navjot
9265235053
fixed network issue when it is set offline 2020-11-23 17:52:20 +05:30
navjot
124e6d9b32
fix for #1656 issue 2020-11-23 17:52:20 +05:30
navjot
1c304125e8
fixed CQ issues 2020-11-21 13:53:10 +05:30
navjot
4681d37377
validate address in insert method and improve test cases 2020-11-21 13:53:10 +05:30
navjot
360539b320
Fixed CQ of class_objectProcessor, bitmessagecurses and bitmessageqt module 2020-11-21 13:53:10 +05:30
navjot
61f7f32dfc
removed unused code and return ackdata from inset method insted of msgid 2020-11-21 13:53:10 +05:30
navjot
beaece254c
omitted unused code and optimized it 2020-11-21 13:53:10 +05:30
navjot
89254064f6
fixed default variables in insert method 2020-11-21 13:53:10 +05:30
navjot
5eff9d6a04
Fixed CQ for tests.core module 2020-11-21 13:53:10 +05:30
navjot
a9e9f25b5d
change helper_sent.insert methods 2020-11-21 13:53:10 +05:30
navjot
0ec15d1d4d
Test case for insert method default values 2020-11-21 13:53:10 +05:30
navjot
1bc3fe7b42
added checks in helper_sent module 2020-11-21 13:53:10 +05:30
navjot
b7d920d529
Fixed CQ for test/core.py module 2020-11-21 13:53:10 +05:30
navjot
0023fc4b3d
Written test case for helper_sent.insert method 2020-11-21 13:53:10 +05:30
navjot
e60d12ddbf
Refactord the uuid creation code and placed it in helper_sent.insert method
refactored on the bases of comments

Fixed CQ of src.helper_sent module

fixed CQ for helper_sent module
2020-11-21 13:53:10 +05:30
navjot
881351033f
replaced insert into sent query with helper_sent.insert method and also replaced empty msgid with uuid 2020-11-21 13:53:10 +05:30
813492291816
601158f6fb
add pendingDownload to return of API clientStatus 2020-11-21 01:00:11 +00:00
cb0710e454
Fix updateStatusBar wrong args order 2020-11-04 16:24:58 +02:00
caf3a3fbbc
A test for updateStatusBar command 2020-11-04 16:24:58 +02:00
695140d57d
Save exceptions in the main thread in excQueue 2020-11-04 16:24:52 +02:00
citizenaspirant
93bf7ad62c
Add apparmor config to data_files for Debian and Ubuntu 2020-11-04 15:47:46 +02:00
84b5f2982c
Allow running pybitmessage -t without tests package 2020-11-04 14:25:21 +02:00
8be89e9a25
Remove deb building overdocumentation 2020-11-04 14:25:21 +02:00
d3fbf17acf
Remove unmaintained debian package 2020-11-04 14:25:20 +02:00
d410cad4b6
stdeb config for building deb 2020-11-04 14:25:15 +02:00
db11d6331f
Optimize setUpClass() and tearDownClass() in test_process 2020-11-03 17:14:00 +02:00
96a784b58b
Merged PeterSurda/teardown-test1:
- reset BMConfigParser before reading config file
  - enable threads name check on posix systems
  - check singleton.lock in TestProcessProto.setUpClass()
2020-11-03 17:14:00 +02:00
b65f2d154a
Common basic cleanup procedure 2020-11-03 17:14:00 +02:00
1bcffd2853
Make TestLogger a subclass of TestProcessProto 2020-11-02 18:01:51 +02:00
cf4e812334
Allow TestProcess subclasses set home dir, use mkdtemp for test_config 2020-11-02 18:01:51 +02:00
affdb2fdc0
Solve problem with subprocess.call() on windows:
- uncomment console_scripts (only for windows) to get exe
 - replace call() with Popen() to avoid blocking
2020-11-02 18:01:50 +02:00
80831754b3
Fail in TestProcessProto.setUp if bitmessage process dies 2020-11-02 11:08:28 +02:00
navjot
6c5bb62123
replaced double quotes with Single quotes in class_singleWorker module 2020-10-31 13:07:51 +05:30
navjot
a7c1018f47
fixed CQ for src.class_singleWorker module 2020-10-31 13:07:51 +05:30
navjot
30044f7516
implemented filter query in sent table on the bases of folder= 'sent' 2020-10-31 13:07:51 +05:30