Feat: rename get_config
This commit is contained in:
@@ -2,7 +2,7 @@ import os
|
||||
import pytest
|
||||
|
||||
from bopytex.planner import fake_planner
|
||||
from bopytex.service import get_config, orcherstrator
|
||||
from bopytex.service import build_config, orcherstrator
|
||||
from bopytex.tasks import Task
|
||||
from bopytex.worker import Dispatcher
|
||||
from .fakes.workers import fake_worker
|
||||
@@ -40,7 +40,7 @@ jinja2 = {
|
||||
|
||||
def test_get_config_with_configfile(config_file, tmp_path):
|
||||
os.chdir(tmp_path)
|
||||
config = get_config({"from_option": "config", "configfile": str(config_file)})
|
||||
config = build_config({"from_option": "config", "configfile": str(config_file)})
|
||||
assert type(config) == dict
|
||||
assert set(config.keys()) == {
|
||||
"generate",
|
||||
|
||||
Reference in New Issue
Block a user