Commits

Gustavo Picon committed 2733512

Adding monkeypatch to fix test in windows

  • Participants
  • Parent commits b610cfb

Comments (0)

Files changed (1)

File tests/test_config.py

         assert envconfig.args_are_paths
         assert not envconfig.recreate
 
-    def test_defaults_distshare(self, tmpdir, newconfig):
+    def test_defaults_distshare(self, tmpdir, newconfig, monkeypatch):
+        monkeypatch.delitem(os.environ, "HUDSON_URL", raising=False)
         config = newconfig([], "")
         envconfig = config.envconfigs['python']
         homedir = py.path.local._gethomedir()