def test_draw_subgraph(self, tor_controller_mock):
    tor_controller_mock().get_info.return_value = '543,543 421,421 551,551 710,710 200,200 175,175 188,188 250,250 377,377'
    data = nyx.panel.graph.BandwidthStats()

    rendered = test.render(nyx.panel.graph._draw_subgraph, data.primary, 0, 30, 7, nyx.panel.graph.Bounds.LOCAL_MAX, nyx.panel.graph.Interval.EACH_SECOND, nyx.curses.Color.CYAN, '*')
    self.assertEqual(EXPECTED_GRAPH, rendered.content)