[tests] Fix imports for Python3 compatibility
This commit is contained in:
parent
30f3c898ed
commit
e4f728327e
6 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ from bumblebee.engine import Engine
|
||||||
from bumblebee.config import Config
|
from bumblebee.config import Config
|
||||||
import bumblebee.input
|
import bumblebee.input
|
||||||
|
|
||||||
from mocks import MockOutput, MockInput
|
from tests.mocks import MockOutput, MockInput
|
||||||
|
|
||||||
class TestEngine(unittest.TestCase):
|
class TestEngine(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
|
@ -4,7 +4,7 @@ import json
|
||||||
import mock
|
import mock
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import mocks
|
import tests.mocks as mocks
|
||||||
|
|
||||||
from bumblebee.input import I3BarInput, LEFT_MOUSE, RIGHT_MOUSE
|
from bumblebee.input import I3BarInput, LEFT_MOUSE, RIGHT_MOUSE
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
|
|
||||||
import mocks
|
import tests.mocks as mocks
|
||||||
|
|
||||||
from bumblebee.output import I3BarOutput
|
from bumblebee.output import I3BarOutput
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import unittest
|
||||||
|
|
||||||
from bumblebee.engine import Module
|
from bumblebee.engine import Module
|
||||||
from bumblebee.config import Config
|
from bumblebee.config import Config
|
||||||
from mocks import MockWidget
|
from tests.mocks import MockWidget
|
||||||
|
|
||||||
class TestModule(unittest.TestCase):
|
class TestModule(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
|
@ -4,7 +4,7 @@ import mock
|
||||||
import unittest
|
import unittest
|
||||||
from bumblebee.theme import Theme
|
from bumblebee.theme import Theme
|
||||||
from bumblebee.error import ThemeLoadError
|
from bumblebee.error import ThemeLoadError
|
||||||
from mocks import MockWidget
|
from tests.mocks import MockWidget
|
||||||
|
|
||||||
class TestTheme(unittest.TestCase):
|
class TestTheme(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import mock
|
import mock
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import mocks
|
import tests.mocks as mocks
|
||||||
|
|
||||||
from bumblebee.util import *
|
from bumblebee.util import *
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue