mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
test fix
This commit is contained in:
parent
e7a1960741
commit
5687bdd6a2
@ -1259,7 +1259,11 @@ TEST_CASE("stop", "[.cmd][.new]") {
|
|||||||
proxy.Call("stop", {}, -1, PUT, oss);
|
proxy.Call("stop", {}, -1, PUT, oss);
|
||||||
REQUIRE(oss.str() == "stop successful\n");
|
REQUIRE(oss.str() == "stop successful\n");
|
||||||
}
|
}
|
||||||
{
|
if (det_type == defs::JUNGFRAU) {
|
||||||
|
std::ostringstream oss;
|
||||||
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
|
REQUIRE(oss.str() == "status stopped\n");
|
||||||
|
} else {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("status", {}, -1, GET, oss);
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
REQUIRE(oss.str() == "status idle\n");
|
REQUIRE(oss.str() == "status idle\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user