split out path adjustments into __init__
This commit is contained in:
@@ -3,14 +3,11 @@ test_mylife.py - tests for the mylife module
|
||||
author: mutantmonkey <mutantmonkey@mutantmonkey.in>
|
||||
"""
|
||||
|
||||
# add current working directory to path
|
||||
import sys
|
||||
sys.path.append('.')
|
||||
|
||||
import unittest
|
||||
from mock import MagicMock, Mock
|
||||
from modules import mylife
|
||||
|
||||
|
||||
class TestMylife(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.phenny = MagicMock()
|
||||
|
||||
Reference in New Issue
Block a user