Skip to content

Commit 486f5f7

Browse files
committed
fix: skip tests on travis
1 parent 3b11b3e commit 486f5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core_tests/unit/product/test_preview_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77

88
# noinspection PyMethodMayBeStatic
9+
@unittest.skipIf(os.environ.get('CI', None) is not None, 'Skip on Travis.')
910
class PreviewHelperTests(unittest.TestCase):
1011
current_folder = os.path.dirname(os.path.realpath(__file__))
1112

12-
@unittest.skipIf(os.environ.get('CI', None) is not None, 'Skip on Travis.')
1313
def test_01_constants(self):
1414
text = File.read(path=os.path.join(self.current_folder, 'preview.log'))
1515
url = Preview.get_url(output=text)

0 commit comments

Comments
 (0)