MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / SetUp

Method SetUp

tests/test_python_integration.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47class PythonIntegrationTest : public ::testing::Test {
48protected:
49 void SetUp() override {
50 const auto module_dir = findPythonModuleDir();
51 ASSERT_FALSE(module_dir.empty()) << "Could not locate built lichtfeld module for Python tests";
52 prependPythonPath(module_dir);
53 lfs::python::ensure_initialized();
54 }
55
56 std::filesystem::path createTempScript(const std::string& content) {
57 auto temp_dir = std::filesystem::temp_directory_path();

Callers

nothing calls this directly

Calls 4

findPythonModuleDirFunction · 0.85
prependPythonPathFunction · 0.85
ensure_initializedFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected