Skip to content

Commit

Permalink
Removed unittest with pytest skip
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored and lpramuk committed Jan 11, 2023
1 parent bf6f599 commit a135cac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions robozilla/decorators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import pytest
import requests
import unittest2

from robozilla.bz import BZReader
from robozilla.constants import (
Expand Down Expand Up @@ -560,7 +559,7 @@ def wrapper_func(*args, **kwargs):
func.__module__,
self.bug_id
)
raise unittest2.SkipTest(
pytest.skip(
'Skipping test due to open Bugzilla bug #{0}.'
''.format(self.bug_id)
)
Expand All @@ -571,7 +570,7 @@ def wrapper_func(*args, **kwargs):
func.__module__,
self.bug_id
)
raise unittest2.SkipTest(
pytest.skip(
'Skipping test due to open Redmine bug #{0}.'
''.format(self.bug_id)
)
Expand Down

0 comments on commit a135cac

Please sign in to comment.