Commit 5d2bc7d
committed
Unittests mock sessions method inplace
Problem:
The unittests mocked session methods where they are defined instead of
where they are used.
Solution:
Use mock.patch.object() to mock self.arch._session
Signed-off-by: Paul Hewlett <phewlett76@gmail.com>1 parent 88b25b3 commit 5d2bc7d
7 files changed
Lines changed: 2420 additions & 2419 deletions
0 commit comments