Exemplo n.º 1
0
    def test_plot_load(self):
        """Test that plot_utils.plot_load() doesn't bomb"""

        run1 = trappy.Run(name="first")
        run2 = trappy.Run(name="second")
        runs = [run1, run2]

        plot_utils.plot_load(runs, self.map_label, height=5)
        matplotlib.pyplot.close('all')
Exemplo n.º 2
0
    def test_plot_load(self):
        """Test that plot_utils.plot_load() doesn't bomb"""

        run1 = trappy.Run(name="first")
        run2 = trappy.Run(name="second")
        runs = [run1, run2]

        plot_utils.plot_load(runs, self.map_label, height=5)
        matplotlib.pyplot.close('all')
Exemplo n.º 3
0
    def test_plot_load(self):
        """Test that plot_utils.plot_load() doesn't bomb"""

        trace1 = trappy.FTrace(name="first")
        trace2 = trappy.FTrace(name="second")
        traces = [trace1, trace2]

        plot_utils.plot_load(traces, self.map_label, height=5)
        matplotlib.pyplot.close('all')
Exemplo n.º 4
0
    def test_plot_load(self):
        """Test that plot_utils.plot_load() doesn't bomb"""

        trace1 = trappy.FTrace(name="first")
        trace2 = trappy.FTrace(name="second")
        traces = [trace1, trace2]

        plot_utils.plot_load(traces, self.map_label, height=5)
        matplotlib.pyplot.close('all')
Exemplo n.º 5
0
    def test_plot_load_single_run(self):
        """plot_utils.plot_load() can be used with a single run"""
        run = trappy.Run()

        plot_utils.plot_load([run], self.map_label)
        matplotlib.pyplot.close('all')
Exemplo n.º 6
0
    def test_plot_load_single_run(self):
        """plot_utils.plot_load() can be used with a single run"""
        run = trappy.Run()

        plot_utils.plot_load([run], self.map_label)
        matplotlib.pyplot.close('all')
Exemplo n.º 7
0
    def test_plot_load_single_trace(self):
        """plot_utils.plot_load() can be used with a single trace"""
        trace = trappy.FTrace()

        plot_utils.plot_load([trace], self.map_label)
        matplotlib.pyplot.close('all')
Exemplo n.º 8
0
    def test_plot_load_single_trace(self):
        """plot_utils.plot_load() can be used with a single trace"""
        trace = trappy.FTrace()

        plot_utils.plot_load([trace], self.map_label)
        matplotlib.pyplot.close('all')