summaryrefslogtreecommitdiff
path: root/bin/test.py
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-04-16 13:16:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-04-17 10:04:41 +0200
commit67ae1c880ca856f0dcec4a64f7d1dd63f4f3147b (patch)
tree663188ac5dcfbcdb1fc562b4436daf0ce40d5854 /bin/test.py
parent3451efd9c493f311a31f4e573f153a64e86f7aae (diff)
Properly toggle safe functions feature from analyze-archive.py
Diffstat (limited to 'bin/test.py')
-rwxr-xr-xbin/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/test.py b/bin/test.py
index 60e8648..433b423 100755
--- a/bin/test.py
+++ b/bin/test.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-from dfatool import EnergyModel, RawData
+from dfatool import EnergyModel, RawData, analytic
import unittest
class TestStaticModel(unittest.TestCase):
@@ -229,5 +229,5 @@ class TestStaticModel(unittest.TestCase):
self.assertAlmostEqual(param_info('RX', 'power')['function']._regression_args[1], 206, places=0)
if __name__ == '__main__':
- dfatool.safe_function_enabled = False
+ analytic.safe_function_enabled = False
unittest.main()