Bjarne Magnussen
|
8ef7b44fd0
|
cli: fixes testing for ConnectionError in get_appointment
|
2020-03-24 18:25:32 +01:00 |
|
Sergi Delgado Segura
|
4071a689af
|
Updates e2e to match 635da6447d887d7df9387e1eda63eda2e9a7d577
|
2020-03-23 17:15:46 +01:00 |
|
Sergi Delgado Segura
|
f5edaf1bf0
|
Fixes default HOST to remove the schema from config
The schema now defaults to http if none is defined. Also improves some of the cli docstrings
|
2020-03-23 17:15:43 +01:00 |
|
Sergi Delgado Segura
|
02eefd5807
|
Moves extend paths from tools to ConfigLoader
|
2020-03-23 13:04:50 +01:00 |
|
Sergi Delgado Segura
|
e2ce7ae1a4
|
Adds missing ConfigLoader unit tests
|
2020-03-23 12:35:29 +01:00 |
|
Sergi Delgado Segura
|
bc9c1a37f2
|
Properly sets conf for e2e on bitcoin-cli
bitcoin-cli on e2e tests was getting the conf straight from the default, but on circle-cli it should be data from the conf file. Setting it right.
|
2020-03-23 12:06:49 +01:00 |
|
Sergi Delgado Segura
|
d622827de8
|
Changes e2e teos config file format and updates circleci conf
|
2020-03-23 11:33:35 +01:00 |
|
Sergi Delgado Segura
|
01ad0d4cdf
|
Adds some ConfigLoader unit tests
|
2020-03-23 11:16:32 +01:00 |
|
Sergi Delgado Segura
|
e9f442d419
|
Refactors e2e tests to match the new config approach
|
2020-03-21 22:52:38 +01:00 |
|
Sergi Delgado Segura
|
2587e25637
|
Adds cli unit tests
|
2020-03-21 22:13:33 +01:00 |
|
Sergi Delgado Segura
|
00a48ce6f5
|
Modifies ConfigParser so config file is passed as parameter (to be used by both teos and cli)
- Modifies ConfigParser
- Adapts __init__ and teosd at teos/
|
2020-03-21 22:02:46 +01:00 |
|
Sergi Delgado Segura
|
d860c9bca6
|
Refactor common/test_tools to remove the conf related functionality
|
2020-03-21 20:46:19 +01:00 |
|
Sergi Delgado Segura
|
cb79e51d09
|
Refactors the tests to match the new class definitions and config formats
|
2020-03-20 21:38:29 +01:00 |
|
Sergi Delgado Segura
|
5e5ff0278a
|
Removes apps folder
|
2020-03-18 12:09:58 +01:00 |
|
Sergi Delgado Segura
|
a9e7eeb7f5
|
Reenables keys in e2e and removes monkeypatching
|
2020-03-18 00:19:48 +01:00 |
|
Sergi Delgado Segura
|
d18944e2ba
|
Add more contrains to load_keys and updates unit tests
|
2020-03-17 20:22:03 +01:00 |
|
Sergi Delgado Segura
|
66da6c6327
|
Missing files to rename
|
2020-03-17 19:37:05 +01:00 |
|
Sergi Delgado Segura
|
7c7ff909d7
|
pisa -> teos
|
2020-03-17 15:47:38 +01:00 |
|
Sergi Delgado Segura
|
0bc0426186
|
Changes ports for bitcoind e2e and runs it earlier to give it time to boostrap
|
2020-03-17 11:50:28 +01:00 |
|
Sergi Delgado Segura
|
8a0cb4bf2a
|
Updates pisa.conf for e2e and circle-ci conf
|
2020-03-17 11:21:37 +01:00 |
|
Sergi Delgado Segura
|
23dea42bfc
|
Adds daemon to e2e bitcoin.conf
|
2020-03-17 11:14:44 +01:00 |
|
Sergi Delgado Segura
|
de6fa5ce12
|
Further updates circle-ci
|
2020-03-17 11:11:24 +01:00 |
|
Sergi Delgado Segura
|
e3521188a7
|
Updates circleci
The sandbox won't be needed anymore, so the test env can be made simpler. Forks can be simulated via invalidateblock and reconsiderblock
|
2020-03-16 17:44:11 +01:00 |
|
Sergi Delgado Segura
|
67942450e6
|
Add some pending fixes (typos and tests)
|
2020-03-16 16:11:08 +01:00 |
|
Sergi Delgado Segura
|
429cb532b5
|
Updates e2e tests signature verification
|
2020-02-21 13:22:26 +01:00 |
|
Sergi Delgado Segura
|
06c51ce361
|
Fixes wrong test
|
2020-02-21 13:21:38 +01:00 |
|
Sergi Delgado Segura
|
ef4f6d1012
|
Updates cli to use the new key formats
|
2020-02-21 13:21:13 +01:00 |
|
Sergi Delgado Segura
|
1837baed2a
|
Updates unit tests to use the new key formats
|
2020-02-21 13:18:56 +01:00 |
|
Sergi Delgado Segura
|
6ed6d559fb
|
Updates inspector to work with the new public key format and verification methods. Includes unit tests
|
2020-02-21 13:16:11 +01:00 |
|
Sergi Delgado Segura
|
1a32686bc8
|
Adds unit tests for new Cryptographer functions and updates old ones
|
2020-02-21 13:14:26 +01:00 |
|
Sergi Delgado Segura
|
3ee8d9f2cb
|
Fixes common test imports
|
2020-02-17 13:06:19 +01:00 |
|
Sergi Delgado Segura
|
ead74199e5
|
Adds schema on cli and e2e tests
|
2020-02-13 19:36:33 +01:00 |
|
Sergi Delgado Segura
|
02e159faac
|
Moves EncryptedBlob to common
|
2020-02-13 16:32:51 +01:00 |
|
Sergi Delgado Segura
|
036f879302
|
Monkeypatches load_keys in e2e tests since add_appointment calls it internally
|
2020-02-11 22:31:14 +01:00 |
|
Sergi Delgado Segura
|
ea4d6cf345
|
Updates e2e tests to derive pk from sk intead of using load_keys
Since we're creating a new set of keys in the e2e tests the hardcoded public key of the cli won't work
|
2020-02-11 21:55:02 +01:00 |
|
Sergi Delgado Segura
|
d447debe54
|
Temporal fix for Cryptographer logs. Close #91
|
2020-02-11 20:22:51 +01:00 |
|
Sergi Delgado Segura
|
e2794eff2a
|
Modifies e2e tests to match alpha cli.load_keys
|
2020-02-11 19:27:33 +01:00 |
|
Sergi Delgado Segura
|
22ded55990
|
Renames pisa_cli to wt_cli
|
2020-02-11 18:37:12 +01:00 |
|
Sergi Delgado Segura
|
f492fe7cbb
|
Updates e2e tests to use new cli methods
|
2020-02-10 16:31:51 +01:00 |
|
Sergi Delgado Segura
|
ee4269d047
|
Updates cli tests and adds some missing ones
|
2020-02-10 16:31:51 +01:00 |
|
Sergi Delgado Segura
|
ab21cbfc8f
|
Moves load_key_file to Cryptographer and updates pisad to use it
|
2020-02-10 16:31:48 +01:00 |
|
Sergi Delgado Segura
|
6913d1cd18
|
Update tests to remove the asleep flags
|
2020-02-10 16:21:31 +01:00 |
|
Sergi Delgado Segura
|
6c957b067d
|
Adds batch update unit tests for DBManager
|
2020-01-31 13:57:30 +01:00 |
|
Sergi Delgado Segura
|
c538ebadd0
|
Updates Clear unit tests to use dicts for completed_trackers instead of tuples
|
2020-01-31 13:10:06 +01:00 |
|
Sergi Delgado Segura
|
451311b765
|
Updates ChainMonitor unit tests to ititialize the db_manager
The Responder needs a DBManager instance to pull the last know block, so None is not valid anymore for this tests
|
2020-01-31 13:08:55 +01:00 |
|
Sergi Delgado Segura
|
1f88f70c9a
|
Updates test_carrier with issued_receipts
The functionality expected in the test required the issued_receipts dict to be cleare, what is normally performed by the Responder
|
2020-01-31 13:05:49 +01:00 |
|
Sergi Delgado Segura
|
1a7464f31a
|
Changes db_manager fixture from session to module
|
2020-01-31 13:04:23 +01:00 |
|
Sergi Delgado Segura
|
a8f2407df9
|
Updates tests for Responder.check_completed_trackers
|
2020-01-31 13:00:04 +01:00 |
|
Sergi Delgado Segura
|
b31e24f655
|
Adds unit tests for Builder.update_states
|
2020-01-31 12:46:12 +01:00 |
|
Sergi Delgado Segura
|
084295b889
|
Adds test for triggering appointment with pissad offline
|
2020-01-24 14:33:04 +01:00 |
|