To replace CONSTANT_A in tests, I can use patch.object() and replace the CONSTANT_A object with another constant. import mock_examples.functions ...
確定! 回上一頁