old_contents: # -*- coding: utf-8 -*-
  """Test configs."""
  from pifile.app import create_app
  from pifile.settings import DevConfig, ProdConfig
  
  
  def test_production_config():
      """Production config."""
      app = create_app(ProdConfig)
      assert app.config['ENV'] == 'prod'
      assert app.config['DEBUG'] is False
      assert app.config['DEBUG_TB_ENABLED'] is False
      assert app.config['ASSETS_DEBUG'] is False
  
  
  def test_dev_config():
      """Development config."""
      app = create_app(DevConfig)
      assert app.config['ENV'] == 'dev'
      assert app.config['DEBUG'] is True
      assert app.config['ASSETS_DEBUG'] is True
  
new_contents: # -*- coding: utf-8 -*-
  """Test configs."""
  from labrador.app import create_app
  from labrador.settings import DevConfig, ProdConfig
  
  
  def test_production_config():
      """Production config."""
      app = create_app(ProdConfig)
      assert app.config['ENV'] == 'prod'
      assert app.config['DEBUG'] is False
      assert app.config['DEBUG_TB_ENABLED'] is False
      assert app.config['ASSETS_DEBUG'] is False
  
  
  def test_dev_config():
      """Development config."""
      app = create_app(DevConfig)
      assert app.config['ENV'] == 'dev'
      assert app.config['DEBUG'] is True
      assert app.config['ASSETS_DEBUG'] is True
  
subject: Update test_config.py