Skip to content

Commit

Permalink
fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Aug 20, 2014
1 parent 463c05b commit b441cc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io
# (c) 2012-2014 Continuum Analytics, Inc. / http://continuum.io
# All Rights Reserved
#
# conda is distributed under the terms of the BSD 3-clause license.
Expand All @@ -17,8 +17,12 @@
# use condarc from source tree to run these tests against
config.rc_path = join(dirname(__file__), 'condarc')

# unset CIO_TEST
def _get_default_urls():
return ['http://repo.continuum.io/pkgs/free',
'http://repo.continuum.io/pkgs/pro']
config.get_default_urls = _get_default_urls

# unset CIO_TEST
try:
del os.environ['CIO_TEST']
except KeyError:
Expand Down

0 comments on commit b441cc5

Please sign in to comment.