diff options
author | Javi Merino <javi.merino@arm.com> | 2014-08-11 17:47:59 +0100 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2015-08-12 14:52:41 +0100 |
commit | af05f3118707479aee2ec1991ddac423eadbacc9 (patch) | |
tree | 2106e1fc047127426458958b439bd912dcf90fb8 /tests/test_plot_utils.py | |
parent | 5981ee82473c17de09b72eb2ec71a4a6f8d1f9da (diff) | |
download | trappy-af05f3118707479aee2ec1991ddac423eadbacc9.tar.gz |
tests: make sure plot_utils.plot_load works with a single run
Diffstat (limited to 'tests/test_plot_utils.py')
-rw-r--r-- | tests/test_plot_utils.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_plot_utils.py b/tests/test_plot_utils.py index ef6f470..b44c276 100644 --- a/tests/test_plot_utils.py +++ b/tests/test_plot_utils.py @@ -112,3 +112,10 @@ class TestPlotUtilsNeedTrace(BaseTestThermal): plot_utils.plot_load(runs, self.map_label, height=5) matplotlib.pyplot.close('all') + + def test_plot_load_single_run(self): + """plot_utils.plot_load() can be used with a single run""" + run = cr2.Run() + + plot_utils.plot_load([run], self.map_label) + matplotlib.pyplot.close('all') |