File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77import httplib2
88
9- from . import mock
9+ import mock
1010
1111import shotgun_api3 as api
1212from shotgun_api3 .shotgun import json
1313from shotgun_api3 .shotgun import ServerCapabilities
1414import urllib .error
1515
16- try :
17- # Attempt to import skip from unittest. Since this was added in Python 2.7
18- # in the case that we're running on Python 2.6 we'll need a decorator to
19- # provide some equivalent functionality.
20- from unittest import skip
21- except ImportError :
22- # On Python 2.6 we'll just have to ignore tests that are skipped -- we won't
23- # mark them as skipped, but we will not fail on them.
24- def skip (f ):
25- return lambda self : None
26-
2716
2817class TestBase (unittest .TestCase ):
2918 '''Base class for tests.
Original file line number Diff line number Diff line change 1818pytest
1919pytest-azurepipelines
2020coverage
21- pytest-coverage
21+ pytest-coverage
22+ mock
You can’t perform that action at this time.
0 commit comments