Skip to content

Commit b335690

Browse files
committed
Fixed the test path
1 parent 4b06fed commit b335690

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/test_1d_mat/test_1d_asr_relax.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77

88
def test_1d_asr_relax(verbose=False):
9+
# Set the current working directory
10+
total_path = os.path.dirname(os.path.abspath(__file__))
11+
os.chdir(total_path)
12+
13+
914
# Load the dynamical matrix
1015
dyn = CC.Phonons.Phonons("1ddyn_asr")
1116

0 commit comments

Comments
 (0)