Exemplo n.º 1
0
    def test_start_and_stop_network(self):
        """
        Assert that start and stop update the started property.
        """

        nb = NetworkBase()

        nb.start()
        self.assertEqual(nb.started, True)

        nb.stop()
        self.assertEqual(nb.started, False)
 def start(self):
     NetworkBase.start(self)