Fix test
Only recorded commands are added to the list
@@ -122,7 +122,7 @@ class TestLocalBuildEnvironment(TestCase):
self.assertTrue(self.mocks.process.communicate.called)
self.assertTrue(build_env.done)
self.assertTrue(build_env.successful)
- self.assertEqual(len(build_env.commands), 1)
+ self.assertEqual(len(build_env.commands), 0)
self.assertEqual(build_env.commands[0].output, u'This is okay')
# api() is not called anymore, we use api_v2 instead
