Skip to content

Commit

Permalink
Refactor unit test paths to use arcann_training instead of deepmd_ite…
Browse files Browse the repository at this point in the history
…rative
  • Loading branch information
cdavro committed May 14, 2024
1 parent 1e31242 commit 02b170b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arcann_training/unittests/test_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class TestGetMachineFromConfigs(unittest.TestCase):
Test case where no matching configuration is found.
"""

@patch("deepmd_iterative.common.machine.get_host_name", return_value="my_machine")
@patch("arcann_training.common.machine.get_host_name", return_value="my_machine")
def test_matching_hostname(self, mock_get_host_name):
"""
Test case where a matching hostname is found.
Expand All @@ -234,7 +234,7 @@ def test_matching_machine_short_name(self):
result = get_machine_from_configs(machine_configs, machine_short_name="machine2")
self.assertEqual(result, "machine2")

@patch("deepmd_iterative.common.machine.get_host_name", return_value="unknown_machine")
@patch("arcann_training.common.machine.get_host_name", return_value="unknown_machine")
def test_no_matching_config(self, mock_get_host_name):
"""
Test case where no matching configuration is found.
Expand Down

0 comments on commit 02b170b

Please sign in to comment.