Skip to content

Commit ee0ff8b

Browse files
committed
Fix test case
1 parent 8412be1 commit ee0ff8b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎tests/test_telebot.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# -*- coding: utf-8 -*-
22
import sys
3+
sys.path.append('../')
4+
35
import time
46
import pytest
57
import os
@@ -8,14 +10,13 @@
810
from telebot import types
911
from telebot import apihelper
1012

11-
sys.path.append('../')
12-
1313
should_skip = 'TOKEN' and 'CHAT_ID' not in os.environ
1414

1515
if not should_skip:
1616
TOKEN = os.environ['TOKEN']
1717
CHAT_ID = os.environ['CHAT_ID']
1818

19+
1920
@pytest.mark.skipif(should_skip, reason="No environment variables configured")
2021
class TestTeleBot:
2122

0 commit comments

Comments
 (0)