mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
We don't need to be root to run these tests
This commit is contained in:
parent
5965ab4b60
commit
ff6d3c6dae
2 changed files with 0 additions and 9 deletions
|
@ -17,7 +17,6 @@ import tempfile
|
|||
from tests.support.case import ModuleCase
|
||||
from tests.support.unit import skipIf
|
||||
from tests.support.paths import TMP
|
||||
from tests.support.helpers import skip_if_not_root
|
||||
|
||||
# Import salt libs
|
||||
import salt.utils.files
|
||||
|
@ -144,7 +143,6 @@ class PipModuleTest(ModuleCase):
|
|||
ret
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_requirements_as_list_of_chains__cwd_set__absolute_file_path(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
@ -187,7 +185,6 @@ class PipModuleTest(ModuleCase):
|
|||
)
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_requirements_as_list_of_chains__cwd_not_set__absolute_file_path(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
@ -230,7 +227,6 @@ class PipModuleTest(ModuleCase):
|
|||
)
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_requirements_as_list__absolute_file_path(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
@ -265,7 +261,6 @@ class PipModuleTest(ModuleCase):
|
|||
)
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_requirements_as_list__non_absolute_file_path(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
@ -307,7 +302,6 @@ class PipModuleTest(ModuleCase):
|
|||
)
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_chained_requirements__absolute_file_path(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
@ -340,7 +334,6 @@ class PipModuleTest(ModuleCase):
|
|||
)
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_chained_requirements__non_absolute_file_path(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
@ -378,7 +371,6 @@ class PipModuleTest(ModuleCase):
|
|||
)
|
||||
)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_issue_4805_nested_requirements(self):
|
||||
self._create_virtualenv(self.venv_dir)
|
||||
|
||||
|
|
|
@ -96,7 +96,6 @@ class PipStateTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
kwargs = {}
|
||||
return self.run_function('virtualenv.create', [path], **kwargs)
|
||||
|
||||
@skip_if_not_root
|
||||
def test_pip_installed_removed(self):
|
||||
'''
|
||||
Tests installed and removed states
|
||||
|
|
Loading…
Add table
Reference in a new issue