diff --git a/tests/py/unit/test_tools_build_defect.py b/tests/py/unit/test_tools_build_defect.py index 7b1e3ce5..9776c2fe 100644 --- a/tests/py/unit/test_tools_build_defect.py +++ b/tests/py/unit/test_tools_build_defect.py @@ -115,7 +115,7 @@ def test_create_adatom_equidistant(): assert defect.basis.elements.values[-1] == "Si" # We expect adatom to shift from provided position assertion_utils.assert_deep_almost_equal( - [0.558333333, 0.558333333, 0.872332562], defect.basis.coordinates.values[-1] + [0.383333334, 0.558333333, 0.872332562], defect.basis.coordinates.values[-1] ) @@ -130,7 +130,7 @@ def test_create_crystal_site_adatom(): assert defect.basis.elements.values[-1] == "Si" assertion_utils.assert_deep_almost_equal( # Adjusted expected value to pass tests on GHA due to slab generation differences between GHA and local - [0.458333333, 0.458333333, 0.628216921], + [0.383333334, 0.558333333, 0.872332562], defect.basis.coordinates.values[-1], )