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

from behave import *
import server


def before_all(context):
    context.app = server.app.test_client()
    server.initialize_mysql(test=True)
    context.server = server

Remove troublesome function from behave's environ.
Remove troublesome function from behave's environ.

  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
  
Remove troublesome function from behave's environ.
## Code Before:
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

## Instruction:
Remove troublesome function from behave's environ.
## Code After:
from behave import *
import server


def before_all(context):
    context.app = server.app.test_client()
    server.initialize_mysql(test=True)
    context.server = server
