split out path adjustments into __init__
This commit is contained in:
@@ -3,15 +3,12 @@ test_imdb.py - tests for the imdb 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.imdb import imdb_search, imdb
|
||||
|
||||
|
||||
class TestImdb(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.phenny = MagicMock()
|
||||
|
||||
Reference in New Issue
Block a user