diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-02-14 08:29:26 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-02-14 08:29:26 +0100 |
commit | 7ed42ca64831018aa7ea379651225d66412e62f0 (patch) | |
tree | 6a0ac767a39001901cd6ffc6d63a3ee1e9d61e56 /bin/test.py | |
parent | 906a01beeb24fafa691f585018a0ec809a88de08 (diff) |
improved cross-validation in analyze-archive; fallback for param_lut_model
Diffstat (limited to 'bin/test.py')
-rwxr-xr-x | bin/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/test.py b/bin/test.py index f53a9ef..c05ed51 100755 --- a/bin/test.py +++ b/bin/test.py @@ -87,7 +87,7 @@ class TestStaticModel(unittest.TestCase): self.assertAlmostEqual(static_model('off', 'duration'), 9130, places=0) self.assertAlmostEqual(static_model('setBrightness', 'duration'), 9130, places=0) - param_lut_model = model.get_param_lut() + param_lut_model = model.get_param_lut(fallback=True) self.assertAlmostEqual(param_lut_model('OFF', 'power', param=[None, None]), 7124, places=0) with self.assertRaises(KeyError): param_lut_model('ON', 'power', param=[None, None]) |