cf1693548b
Re-add the engine that is responsible for tying together input, output, etc. see #23
13 lines
325 B
Python
13 lines
325 B
Python
# pylint: disable=C0103,C0111
|
|
import unittest
|
|
|
|
from bumblebee.engine import Engine
|
|
|
|
class TestEngine(unittest.TestCase):
|
|
def setUp(self):
|
|
self.engine = Engine(None)
|
|
|
|
def test_stop(self):
|
|
self.assertTrue(self.engine.running())
|
|
self.engine.stop()
|
|
self.assertFalse(self.engine.running())
|