mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-17 04:39:55 +01:00
sys.path why?
This commit is contained in:
parent
c91ffc122a
commit
991ee2bc88
3 changed files with 5 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue