vzotova
|
9897c0f93c
|
Fix agent mocking: use instance to hold mocked method instead of class
|
2020-06-25 20:08:27 +03:00 |
David Núñez
|
b0e9a40f9c
|
...and relocate and improve tests for get_confirmations
|
2020-06-05 04:05:39 +02:00 |
Bogdan Opanchuk
|
ef9ab01a3a
|
Replace mocking click.prompt() and click.confirm() with mocking stdin/getpass.
|
2020-05-28 14:42:04 -07:00 |
Kieran Prasch
|
28cce2fccc
|
Reorganize tests into multiple suites.
|
2020-05-27 14:11:25 -07:00 |
derekpierre
|
668f25bc38
|
Add pre-commit hook to ensure that AGPL license is included in python source files
|
2020-05-22 08:55:06 -04:00 |
Kieran Prasch
|
cf7cb682e0
|
RFCs for #1989; Transforms registry source manager into a formal context manager.
|
2020-05-21 18:54:40 -07:00 |
Kieran Prasch
|
f1b130afa1
|
Additional annotations and comments.
|
2020-05-21 16:01:26 -07:00 |
Kieran Prasch
|
4169dbb004
|
Implement Constant Sorrow for contract api method markers.
|
2020-05-21 15:39:01 -07:00 |
Kieran Prasch
|
9b9ddac234
|
Respond to RFCs in PR #1989
|
2020-05-21 14:56:45 -07:00 |
Kieran Prasch
|
87cc3b7767
|
Allow properties to be collected and handled in auto mocking.
|
2020-05-20 21:46:21 -07:00 |
Kieran Prasch
|
394332eef0
|
Clear side effects on agent mock by default
|
2020-05-20 21:45:05 -07:00 |
Kieran R. Prasch
|
5250305f4a
|
Ensure unifirm mock coverage of contracts in FT suite
|
2020-05-20 21:45:04 -07:00 |
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
|
ed3b5b38ed
|
Fixes a bug in registry source management; Restore to original network inventory so it can be tested.
|
2020-05-20 21:40:53 -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 |
derekpierre
|
c1d93d8941
|
Add "end-of-file-fixer" to pre-commit hooks
|
2020-05-19 14:28:29 -04: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 Prasch
|
90d4c6ae94
|
Control mock registry source for mock testerchain; Test touch ups.
|
2020-05-08 19:20:54 -07:00 |
Kieran Prasch
|
c177d2dca1
|
Introduce mock interfaces module
|
2020-05-08 19:20:54 -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 |