From 95bd7ff4680990d18435289bea96390d386f7885 Mon Sep 17 00:00:00 2001 From: Sergio Schvezov Date: Wed, 10 Feb 2016 17:09:07 -0300 Subject: [PATCH] Pre release unit test fix for 2.2 This considers builder environment variables that could potentially affect unit tests. Signed-off-by: Sergio Schvezov --- snapcraft/tests/test_plugin_maven.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snapcraft/tests/test_plugin_maven.py b/snapcraft/tests/test_plugin_maven.py index 67f45092e9..ef5f77759c 100644 --- a/snapcraft/tests/test_plugin_maven.py +++ b/snapcraft/tests/test_plugin_maven.py @@ -88,6 +88,7 @@ def test_build_with_snapcraft_proxy(self, glob_mock, run_mock): env_vars = ( ('SNAPCRAFT_SETUP_PROXIES', '1',), ('http_proxy', 'http://localhost:3132'), + ('no_proxy', None), ) for v in env_vars: self.useFixture(fixtures.EnvironmentVariable(v[0], v[1]))