Skip to content

Commit

Permalink
Fix test config
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Apr 4, 2022
1 parent 42bc24c commit e38bd49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ async def create_module(

# If necessary, give parse_config some configuration to parse.
raw_config = config if config is not None else {}
config = RedListManager.parse_config(raw_config)
parsed_config = RedListManager.parse_config(raw_config)

# Set up the database table in a separate step, to ensure it's ready to be used when
# we run the tests.
module = RedListManager(config, module_api, setup_db=False)
module = RedListManager(parsed_config, module_api, setup_db=False)
await module._setup_db()

# Instantiating the module will set up the database, which will call
Expand Down

0 comments on commit e38bd49

Please sign in to comment.