split out path adjustments into __init__

This commit is contained in:
mutantmonkey
2012-06-01 00:13:57 -07:00
parent 34f3f8a9c4
commit f820c6dcb3
12 changed files with 14 additions and 42 deletions

View File

@@ -3,15 +3,12 @@ test_tfw.py - tests for the fucking weather module
author: mutantmonkey <mutantmonkey@mutantmonkey.in>
"""
# add current working directory to path
import sys
sys.path.append('.')
import re
import unittest
from mock import MagicMock, Mock
from modules.tfw import tfw
class TestTfw(unittest.TestCase):
def setUp(self):
self.phenny = MagicMock()