예제 #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())