bots: tests: Remove superfluous sys.path insertion.

This commit is contained in:
Robert Hönig 2017-06-17 13:59:28 +02:00 committed by showell
parent 94587db657
commit 4ce5521516
11 changed files with 0 additions and 85 deletions

View file

@ -4,14 +4,6 @@ from __future__ import absolute_import
from __future__ import print_function
import mock
import os
import sys
our_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.normpath(os.path.join(our_dir)))
# For dev setups, we can find the API in the repo itself.
if os.path.exists(os.path.join(our_dir, '..')):
sys.path.insert(0, '..')
from bots_test_lib import BotTestCase
class TestXkcdBot(BotTestCase):