sys.path why?

This commit is contained in:
Eldin 2017-06-21 00:33:23 +02:00
parent c91ffc122a
commit 991ee2bc88
3 changed files with 5 additions and 13 deletions

View file

@ -24,8 +24,6 @@ import os
from flaky import flaky
sys.path.append('.')
import telegram
from tests.base import BaseTest, timeout
from tests.bots import get_bot

View file

@ -17,19 +17,15 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see [http://www.gnu.org/licenses/].
"""This module contains an object that represents Tests for Telegram VideoNote"""
import numbers
import os
import sys
import unittest
import os
from flaky import flaky
from tests.bots import get_bot
sys.path.append('.')
import telegram
from tests.base import BaseTest, timeout
from tests.bots import get_bot
class VideoNoteTest(BaseTest, unittest.TestCase):
@ -175,5 +171,6 @@ class VideoNoteTest(BaseTest, unittest.TestCase):
self.assertNotEqual(a, e)
self.assertNotEqual(hash(a), hash(e))
if __name__ == '__main__':
unittest.main()

View file

@ -18,18 +18,15 @@
# along with this program. If not, see [http://www.gnu.org/licenses/].
"""This module contains an object that represents Tests for Telegram Voice"""
import os
import sys
import unittest
import os
from flaky import flaky
from tests.bots import get_bot
sys.path.append('.')
import telegram
from tests.base import BaseTest, timeout
from tests.bots import get_bot
class VoiceTest(BaseTest, unittest.TestCase):