~cjwatson/click/fix-tests-installation

« back to all changes in this revision

Viewing changes to click/tests/integration/test_build_core_apps.py

  • Committer: Colin Watson
  • Date: 2014-09-04 13:57:36 UTC
  • Revision ID: cjwatson@canonical.com-20140904135736-t05iqgc6y9on6zxt
Call skipTest in ClickTestCase.setUp rather than using allow_integration helper everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from six import with_metaclass
26
26
 
27
27
from .helpers import (
28
 
    allow_integration,
29
28
    chdir,
30
29
    has_network,
31
30
    is_root,
66
65
        return type.__new__(cls, name, bases, dct)
67
66
 
68
67
 
69
 
@unittest.skipIf(not allow_integration(), "Skipping integration tests")
70
68
@unittest.skipIf(not is_root(), "This tests needs to run as root")
71
69
@unittest.skipIf(not has_network(), "Need network")
72
70
class TestBuildCoreApps(with_metaclass(AddBranchTestFunctions, ClickTestCase)):