10 Commits

Author SHA1 Message Date
danielsanchezq
f92bb0bf15 Fix tests with block content and comments 2023-04-03 13:49:54 +02:00
danielsanchezq
00b650255c Stylish, adjustments and fixes 2023-04-03 11:02:58 +02:00
mjalalzai
523ec81577 Received Votes tests 2023-04-01 15:25:45 -07:00
mjalalzai
f55d897104 Get max timeout by highQC 2023-04-01 13:26:51 -07:00
mjalalzai
7d0e84fd32 Vote tests 2023-04-01 00:35:13 -07:00
mjalalzai
f596893cd3 Tests for updating latest_committed_view and high_qc. 2023-03-31 14:19:11 -07:00
danielsanchezq
d056c6b2ab Added base vote test 2023-03-31 14:30:11 +02:00
danielsanchezq
742227a01e Add tests assertions 2023-03-31 12:58:46 +02:00
Daniel Sanchez
44253376bc
Python impl tests (#9)
* Make easy tests

* Made sure an old aggregatedQC is not used.

* Test when a block has an old qc

* adding highest voted view so that a node doesn't vote twice.

* adding highest voted view so that a node doesn't vote twice.

* Tests for voting

* Tests for voting

* Tests for voting

* Tests for voting

* Update test_happy_path.py

---------

Co-authored-by: mjalalzai <33738574+MForensic@users.noreply.github.com>
2023-03-31 02:38:23 -07:00
danielsanchezq
5dedab1d2f Make easy tests 2023-03-30 20:26:27 +02:00