bumblebee-status/tests/test_engine.py
Tobi-wan Kenobi cf1693548b [engine] Add initial version of event loop engine
Re-add the engine that is responsible for tying together input, output,
etc.

see #23
2016-12-04 08:37:56 +01:00

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())