This update should create all the needed files locally now without the need to touch the network. Please note that I added a "class PoorMvosTestCase(unittest.TestCase)" that is used as a fallback if the full lp.testing import TestCase can not be imported. Feel free to remove it in the final merge (or I can remove it too once the rest looks ok). I added it because I only have a full LP environment in a VM and that is a bit of a hassle to work with. But this script really only needs the makeTemporaryFile feature. The test passes now for me without network and the data looks sane too.
This update should create all the needed files locally now without the need to touch the network. Please note that I added a "class PoorMvosTestCas e(unittest. TestCase) " that is used as a fallback if the full lp.testing import TestCase can not be imported. Feel free to remove it in the final merge (or I can remove it too once the rest looks ok). I added it because I only have a full LP environment in a VM and that is a bit of a hassle to work with. But this script really only needs the makeTemporaryFile feature. The test passes now for me without network and the data looks sane too.