2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-26 10:34:52 +00:00
StefanStrobel 84a1c425fb 98_Modbus.pm: added tests
git-svn-id: https://svn.fhem.de/fhem/trunk@23485 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2021-01-07 13:06:26 +00:00

19 lines
371 B
Perl

##############################################
# test hints for set
##############################################
use strict;
use warnings;
use Test::More;
fhem 'set M1 ?';
is(FhemTestUtils_gotLog('choose one of .* o1:off,on o2:1,2,3'), 1, "hints in log");
InternalTimer(gettimeofday() + 0.2, "testStepEnd", 0);
sub testStepEnd {
done_testing;
exit(0);
}
1;