mirror of https://gitlab.com/cppit/jucipp
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
326 B
15 lines
326 B
|
7 years ago
|
#include "test_suite.h"
|
||
|
|
#include <iostream>
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
auto &config = Config::get();
|
||
|
|
auto suite_name = "Config_tests";
|
||
|
|
suite test_suite(suite_name);
|
||
|
|
try {
|
||
|
|
py::module::import("config_test");
|
||
|
|
test_suite.has_assertion = true;
|
||
|
|
} catch(const py::error_already_set &error){
|
||
|
|
std::cout << error.what();
|
||
|
|
}
|
||
|
|
}
|