Fix integration tests (#2972)

* fixed test

* fixed pytest

Co-authored-by: James Simmons <53658028+simmonsj330@users.noreply.github.com>
This commit is contained in:
Henrique Joaquim
2022-10-22 09:39:54 +01:00
committed by GitHub
parent 5fab5a438e
commit 6ea53877f5

View File

@@ -12,6 +12,7 @@ from typing import List, Optional
from openbb_terminal.custom_prompt_toolkit import NestedCompleter
from openbb_terminal.core.config.paths import MISCELLANEOUS_DIRECTORY
from openbb_terminal import feature_flags as gtff
from openbb_terminal.decorators import log_start_end
from openbb_terminal.helper_funcs import log_and_raise
@@ -95,15 +96,7 @@ class ParametersController(BaseController):
self.current_model = current_model
self.description: Optional[str] = None
self.DEFAULT_PATH = os.path.abspath(
os.path.join(
os.path.dirname(__file__),
"..",
"..",
"..",
"..",
"portfolio",
"optimization",
)
MISCELLANEOUS_DIRECTORY / "portfolio_examples" / "optimization"
)
self.file_types = ["xlsx", "ini"]