We don't need to be root to run these tests

This commit is contained in:
Pedro Algarvio 2019-04-16 14:17:53 +01:00
parent 5965ab4b60
commit ff6d3c6dae
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
2 changed files with 0 additions and 9 deletions

View file

@ -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)

View file

@ -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