示例#1
0
 def test_get_config_filename_override(self):
     """Test that `get_config_filename` returns the overridden config."""
     expected = '/tmp/foo'
     os.environ['WHEELJACK_CONFIG'] = expected
     eq_(expected, get_config_filename())
示例#2
0
 def test_get_config_filename_override(self):
     """Test that `get_config_filename` returns the overridden config."""
     expected = '/tmp/foo'
     os.environ['WHEELJACK_CONFIG'] = expected
     eq_(expected, get_config_filename())
示例#3
0
 def test_get_config_filename(self):
     """Test that `get_config_filename` returns the default config."""
     eq_(DEFAULT_CONFIG, get_config_filename())
示例#4
0
 def test_get_config_filename(self):
     """Test that `get_config_filename` returns the default config."""
     eq_(DEFAULT_CONFIG, get_config_filename())