Commit Graph

20 Commits (5bacc2f61c6a3f88a277db525f0dfa99540d7f84)

Author SHA1 Message Date
Kieran Prasch 5bacc2f61c
Polish off condensed auto agent mocking and example implementation on worklock CLI FT 2020-05-20 21:44:05 -07:00
Kieran Prasch 7913427352
Condensed auto-mocking for agents. 2020-05-20 21:43:45 -07:00
Kieran Prasch 9b9efceee3
Proof of concept for metaprogramming apoproach to contract mocking. 2020-05-20 21:42:23 -07:00
Kieran Prasch c8e37210fe
Iterating on spy wrapper and mock agents 2020-05-20 21:38:31 -07:00
Kieran R. Prasch cc66d9310a
Test coverage and bug fixes for interactive client account selection with balances. 2020-05-20 21:36:25 -07:00
Kieran Prasch a1113d2a20
Resolve two TODOs wrt staker methods and painting. 2020-05-20 21:33:01 -07:00
Kieran Prasch 713eab4854
Deeper integration of agents with the Mock API. 2020-05-20 21:32:59 -07:00
Kieran Prasch 61cdcb9dd7
Generate a Mock object for every transaction and call on mock agents. 2020-05-20 21:26:20 -07:00
Kieran Prasch f263e4c2a0
Promote and clear constants modules;
Partly convert constants to Pathlib, Use safe mock IP address constants.
Accommodate more pathlib in tests
2020-05-15 08:36:11 -07:00
Kieran Prasch 3b4e9b47dc
Optimize imports for the entire codebase 2020-05-15 08:34:25 -07:00
Kieran Prasch a935dc8e2d
Annihilate the sandbox 2020-05-15 08:33:38 -07:00
Kieran Prasch bf75d33e3e
Respond to RFCs in PR #1949 2020-05-13 08:08:00 -07:00
Kieran R. Prasch 1164db20f4 Intro MockPolicyManagerAgent 2020-05-08 19:20:54 -07:00
Kieran Prasch 7f67226fe3 Detailing worklock functionality test assertions with new agent mocking API 2020-05-08 19:20:54 -07:00
Kieran Prasch 83d847c4ab Tight spy based test on worklock bidding CLI 2020-05-08 19:20:54 -07:00
Kieran R. Prasch c8bf00cd69 Spy on mocked transactions and calls through mock agents 2020-05-08 19:20:54 -07:00
Kieran R. Prasch 6aec7c634d Mock at the ContractAgent level while preserving agent routing 2020-05-08 19:20:54 -07:00
Kieran Prasch 5c6f2a5e8c Transaction and call mocking scheme implmentation 2020-05-08 19:20:54 -07:00
Kieran Prasch 570e656a17 Complete example of mocking at the agent layer 2020-05-08 19:20:54 -07:00
Kieran Prasch 0c2f684d71 Neat layout for agent mocking and cli unit testing 2020-05-08 19:20:54 -07:00