Refactored
This commit is contained in:
0
wo/utils/__init__.py
Normal file
0
wo/utils/__init__.py
Normal file
15
wo/utils/test.py
Normal file
15
wo/utils/test.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Testing utilities for WordOps"""
|
||||
from wo.cli.main import WOTestApp
|
||||
from cement.utils.test import *
|
||||
|
||||
|
||||
class WOTestCase(CementTestCase):
|
||||
app_class = WOTestApp
|
||||
|
||||
def setUp(self):
|
||||
"""Override setup actions (for every test)."""
|
||||
super(WOTestCase, self).setUp()
|
||||
|
||||
def tearDown(self):
|
||||
"""Override teardown actions (for every test)."""
|
||||
super(WOTestCase, self).tearDown()
|
||||
Reference in New Issue
Block a user