Commit Graph

27 Commits (28e5c78e491867bc08d6e38bb32273184e285619)

Author SHA1 Message Date
David Núñez e704e7290e Duplicated tests. See tests/characters/test_ursula_prepares_to_act_as_mining_node.py 2019-05-06 13:20:21 +02:00
Kieran Prasch 88ff212f3c
Post-rebase cleanup Pt. II. 2019-03-09 17:32:04 -08:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
jMyles b0b0645e4d We don't pass certificate_filepath anymore. 2019-02-08 10:06:23 -07:00
jMyles 0578b8023c Mocking Response with namedtuple. 2019-02-02 21:02:34 -05:00
jMyles 706614cd93 Fake cert filepath for Vlad here too. 2019-01-15 15:20:17 -05:00
jMyles bed79d4fac Handling 204 response during learning. Fixes #630. 2019-01-15 15:20:17 -05:00
jMyles bf0a9e702b Test for case where Ursula knows nobody. Currently forced to fail. See #630. 2019-01-15 15:20:17 -05:00
jMyles 485a362da3 Fixes to respond to RFCs: GLOBAL_DOMAIN docstring, bad line break. 2018-12-09 03:28:37 -05:00
jMyles f19601912d Fixed imports and some other formatting issues following merge commit. 2018-12-06 21:19:57 -05:00
jMyles a3fb853ffa Pre-arranged merge commit between @kprasch and myself to reconcile our branches.
Quite a few conflicts resolved.
2018-12-06 20:55:09 -05:00
jMyles b919e84184 Test showing that POSTing version messiness results in sane handling. 2018-12-06 18:21:41 -05:00
jMyles 46a0fee06f Passing domains and versions all the way through de/serialization flow and template. 2018-12-06 18:21:41 -05:00
jMyles b129f3298d More sane error messages for node mismatches; tests for the same. 2018-12-06 18:19:57 -05:00
jMyles b767405d02 That's what from_bytes is supposed to look like. 2018-12-06 18:18:23 -05:00
jMyles c6b63d641a Domains are now sets. 2018-12-06 18:18:23 -05:00
jMyles 4c9f9108ed Don't learn about nodes with a newer version than you. 2018-12-06 18:10:05 -05:00
jMyles c1edd537b2 Tests for decentralized metadata verification. #573 2018-12-06 18:04:11 -05:00
jMyles 2365f2b2d1 Don't save any previously saved states, even if the 'new' one is not the current one. 2018-12-06 18:04:11 -05:00
jMyles 9be9ac7370 Record node snapshots only at the end of a learning round, not every time a node is remembered. 2018-12-06 18:04:11 -05:00
Kieran Prasch b2669b8edf
Extrapolate more testing steps for CI workflows; Skip publication steps (preversion). 2018-12-05 16:16:59 -08:00
jMyles 1a9a9cb83e
Don't save any previously saved states, even if the 'new' one is not the current one. 2018-12-05 15:57:21 -08:00
jMyles cb202ff371
Record node snapshots only at the end of a learning round, not every time a node is remembered. 2018-12-05 15:57:21 -08:00
jMyles fea6b6a258 Tests now reflect state changes. 2018-11-16 10:26:29 -08:00
jMyles 31f66cf071 Past fleet state as a param during learning; only learn if there's a difference. 2018-11-16 10:22:59 -08:00
jMyles e9804e2fb0 Tests specifically for learning. 2018-11-10 20:55:26 -08:00
jMyles 6bdfd1e3cd Once Ursula is fully loaded, then we'll update FleetState. 2018-11-10 20:52:36 -08:00