[#727] Run PrefixNetworkScenario in clean environment each time
Description
Problem: test_PrefixNetworkScenario fails if it's run in the same tezos-client environment more than once with TwoMoneybagKeys exception.
Solution: Since we're mangling the network env anyway, we can just create a new tmpdir for test_PrefixNetworkScenario to run in each time. We do need to remove the directory after the test has run.
Related issue(s)
Resolves #727 (closed)
That said, the issue description wasn't updated after a little discussion.
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Nikolay Yakimov