| 141 | } |
| 142 | |
| 143 | void WriteSleepPlugin(const std::string& path) { |
| 144 | fma_common::OutputFmaStream out(path, 0); |
| 145 | buil_python_extension("./sleep.so", "sleep"); |
| 146 | std::string code = ""; |
| 147 | read_code("./sleep.so", code); |
| 148 | |
| 149 | out.Write(code.data(), code.size()); |
| 150 | out.Close(); |
| 151 | } |
| 152 | |
| 153 | TEST_F(TestPythonPluginManagerImpl, PythonPluginManagerImpl) { |
| 154 | using namespace fma_common; |