old_contents: from behave import *
  import server
  
  
  def before_all(context):
      context.app = server.app.test_client()
      server.initialize_mysql(test=True)
      server.initialize_index()
      context.server = server
  
new_contents: from behave import *
  import server
  
  
  def before_all(context):
      context.app = server.app.test_client()
      server.initialize_mysql(test=True)
      context.server = server
  
subject: Remove troublesome function from behave's environ.