| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import unittest | 5 import unittest |
| 6 | 6 |
| 7 # pylint: disable=F0401 | 7 # pylint: disable=E0611,F0401 |
| 8 import mojo.embedder | 8 import mojo.embedder |
| 9 import mojo.system as system | 9 import mojo.system as system |
| 10 | 10 |
| 11 | 11 |
| 12 class MojoTestCase(unittest.TestCase): | 12 class MojoTestCase(unittest.TestCase): |
| 13 | 13 |
| 14 def setUp(self): | 14 def setUp(self): |
| 15 mojo.embedder.Init() | 15 mojo.embedder.Init() |
| 16 self.loop = system.RunLoop() | 16 self.loop = system.RunLoop() |
| 17 | 17 |
| 18 def tearDown(self): | 18 def tearDown(self): |
| 19 self.loop = None | 19 self.loop = None |
| OLD | NEW |