blob: 101f19c74aa1c3aeb3ff68caf6d5f06a4c3d05ce [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
# pylint: disable=E0611,F0401
import mojo.embedder
import mojo.system
class MojoTestCase(unittest.TestCase):
def setUp(self):
mojo.embedder.Init()
self.loop = mojo.system.RunLoop()
def tearDown(self):
self.loop = None
assert mojo.embedder.ShutdownForTest()