summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-03 11:05:38 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-03 11:05:38 +0200
commitb911860adb05e9712d16d335c9d1d9785733eea0 (patch)
treea5a53c6160b58a5444d7e4d38f27a27d65066325 /test
parent230d52e784392fd7053099e345943f58e3a5e32e (diff)
move get_fit_result to ParamFit class
Diffstat (limited to 'test')
-rwxr-xr-x[-rw-r--r--]test/test_parameters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_parameters.py b/test/test_parameters.py
index a466d91..57ab166 100644..100755
--- a/test/test_parameters.py
+++ b/test/test_parameters.py
@@ -44,7 +44,7 @@ class TestModels(unittest.TestCase):
paramfit.enqueue("TX", "power", 1, "p_linear")
paramfit.fit()
- fit_result = dt.get_fit_result(paramfit.results, "TX", "power")
+ fit_result = paramfit.get_result("TX", "power")
self.assertEqual(fit_result["p_linear"]["best"], "linear")