Skip to content

Commit

Permalink
fix: tests to import correct Configuration object
Browse files Browse the repository at this point in the history
  • Loading branch information
kapil-agnihotri committed Sep 10, 2024
1 parent a809166 commit c75409e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mcda/mcda_with_robustness.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import numpy as np

from ProMCDA.mcda.utils.application_enums import MonteCarloMarginalDistributions
from ProMCDA.mcda.models import Configuration
from ProMCDA.mcda.models.configuration import Configuration

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion mcda/mcda_without_robustness.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ProMCDA.mcda.configuration.config import Config
from ProMCDA.mcda.mcda_functions.normalization import Normalization
from ProMCDA.mcda.mcda_functions.aggregation import Aggregation
from ProMCDA.mcda.models import Configuration
from ProMCDA.mcda.models.configuration import Configuration

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/test_mcda_with_robustness.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from ProMCDA.mcda import mcda_run
from ProMCDA.mcda.mcda_with_robustness import MCDAWithRobustness
from ProMCDA.mcda.configuration.config import Config
from ProMCDA.mcda.models import Configuration
from ProMCDA.mcda.models.configuration import Configuration


class TestMCDA_with_robustness(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/test_mcda_without_robustness.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ProMCDA.mcda.mcda_functions.aggregation import Aggregation
import ProMCDA.mcda.utils.utils_for_main as utils_for_main
import ProMCDA.mcda.utils.utils_for_parallelization as utils_for_parallelization
from ProMCDA.mcda.models import Configuration
from ProMCDA.mcda.models.configuration import Configuration

current_directory = os.path.dirname(os.path.abspath(__file__))
resources_directory = os.path.join(current_directory, '..', 'resources')
Expand Down
1 change: 1 addition & 0 deletions tests/unit_tests/test_utils_for_parallelization.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from ProMCDA.mcda import mcda_run
from ProMCDA.mcda.mcda_without_robustness import *
from ProMCDA.mcda.models.configuration import Configuration
from ProMCDA.mcda.utils.utils_for_parallelization import *


Expand Down

0 comments on commit c75409e

Please sign in to comment.