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

3
test/__init__.py Normal file
View File

@@ -0,0 +1,3 @@
# add current working directory to path
import sys
sys.path.append('.')

View File

@@ -2,13 +2,8 @@
Tests for phenny's bot.py
"""
# add current working directory to path
import sys
sys.path.append('.')
import unittest
from mock import call, patch, Mock
import bot

View File

@@ -2,13 +2,8 @@
Tests for phenny's irc.py
"""
# add current working directory to path
import sys
sys.path.append('.')
import unittest
from mock import call, patch, Mock
import irc