Skip to content

Commit

Permalink
test: skip discordaction tests if running on CI
Browse files Browse the repository at this point in the history
There are currently issues with the discord unittests regarding the imports
  • Loading branch information
d-Rickyy-b committed Aug 15, 2021
1 parent 32f0248 commit 5ee2507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pastepwn/actions/tests/discordaction_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import logging
import os
import sys
import unittest
from unittest.mock import Mock
Expand All @@ -8,6 +9,7 @@
from pastepwn.actions.discordaction import DiscordAction


@unittest.skipIf(os.getenv("CI"), "running on CI")
class TestDiscordAction(unittest.TestCase):
def setUp(self):
"""Setup the environment to test the action"""
Expand Down

0 comments on commit 5ee2507

Please sign in to comment.