You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
396 B

#include "test_suite.h"
#include "python_module.h"
#include <iostream>
suite::suite(const boost::filesystem::path &path) {
py::initialize_interpreter();
auto sys = py::module::import("sys");
sys.attr("path").cast<py::list>().append((test_file_path / path).string());
config.terminal.history_size = 100;
}
suite::~suite() {
py::finalize_interpreter();
g_assert_true(has_assertion);
}