Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add missing import
· 0771fcf0
Andreas Tille
authored
Apr 03, 2019
0771fcf0
Exclude another test accessing remote locations
· 45ec5b3f
Andreas Tille
authored
Apr 03, 2019
45ec5b3f
Show whitespace changes
Inline
Side-by-side
debian/patches/ignore_test_accessing_remote.patch
View file @
45ec5b3f
...
...
@@ -78,11 +78,22 @@ Description: Ignore tests trying to remove remote network hosts
index = get_index(platform=win64)
--- a/tests/core/test_envs_manager.py
+++ b/tests/core/test_envs_manager.py
@@ -42,6 +42,
7
@@
class EnvsManagerUnitTests(TestCase):
@@ -42,6 +42,
8
@@
class EnvsManagerUnitTests(TestCase):
rm_rf(self.prefix)
assert not lexists(self.prefix)
+ import pytest
+ @pytest.mark.skipif(True, reason="Debian: seems to access network")
def test_register_unregister_location_env(self):
gascon_location = join(self.prefix, 'gascon')
touch(join(gascon_location, PREFIX_MAGIC_FILE), mkdir=True)
--- a/tests/core/test_repodata.py
+++ b/tests/core/test_repodata.py
@@ -30,6 +30,7 @@
def platform_in_record(platform, record)
@pytest.mark.integration
class GetRepodataIntegrationTests(TestCase):
+ @pytest.mark.skipif(True, reason="Debian: seems to access network")
def test_get_index_no_platform_with_offline_cache(self):
import conda.core.subdir_data
with env_var('CONDA_REPODATA_TIMEOUT_SECS', '0', reset_context):