32
32
__date__ = "Aug 2, 2013"
33
33
34
34
35
- @pytest .mark .skipif (zeo is None , reason = "zeo not present. " )
35
+ @pytest .mark .skipif (zeo is None , reason = "zeo not present" )
36
36
class TestZeoCssr (TestCase ):
37
37
def setUp (self ):
38
38
filepath = f"{ VASP_IN_DIR } /POSCAR"
@@ -70,12 +70,12 @@ def test_str(self):
70
70
assert str (self .zeo_cssr ) == expected_string
71
71
72
72
def test_from_file (self ):
73
- filename = f"{ TEST_FILES_DIR } /cssr/EDI.cssr"
73
+ filename = f"{ TEST_FILES_DIR } /io/ cssr/EDI.cssr"
74
74
zeo_cssr = ZeoCssr .from_file (filename )
75
75
assert isinstance (zeo_cssr .structure , Structure )
76
76
77
77
78
- @pytest .mark .skipif (zeo is None , reason = "zeo not present. " )
78
+ @pytest .mark .skipif (zeo is None , reason = "zeo not present" )
79
79
class TestZeoCssrOxi (TestCase ):
80
80
def setUp (self ):
81
81
filepath = f"{ VASP_IN_DIR } /POSCAR"
@@ -114,12 +114,12 @@ def test_str(self):
114
114
assert str (self .zeo_cssr ) == expected_string
115
115
116
116
def test_from_file (self ):
117
- filename = f"{ TEST_FILES_DIR } /cssr/EDI_oxistate_decorated.cssr"
117
+ filename = f"{ TEST_FILES_DIR } /io/ cssr/EDI_oxistate_decorated.cssr"
118
118
zeocssr = ZeoCssr .from_file (filename )
119
119
assert isinstance (zeocssr .structure , Structure )
120
120
121
121
122
- @pytest .mark .skipif (zeo is None , reason = "zeo not present. " )
122
+ @pytest .mark .skipif (zeo is None , reason = "zeo not present" )
123
123
class TestZeoVoronoiXYZ (TestCase ):
124
124
def setUp (self ):
125
125
coords = [
@@ -150,7 +150,7 @@ def test_from_file(self):
150
150
assert isinstance (voronoi .molecule , Molecule )
151
151
152
152
153
- @pytest .mark .skipif (zeo is None , reason = "zeo not present. " )
153
+ @pytest .mark .skipif (zeo is None , reason = "zeo not present" )
154
154
class TestGetVoronoiNodes (TestCase ):
155
155
def setUp (self ):
156
156
filepath = f"{ VASP_IN_DIR } /POSCAR"
@@ -189,7 +189,7 @@ def test_get_free_sphere_params(self):
189
189
assert free_sph_params ["inc_sph_along_free_sph_path_max_dia" ] == approx (2.58251 , abs = 1e-1 )
190
190
191
191
192
- @pytest .mark .skipif (zeo is None , reason = "zeo not present. " )
192
+ @pytest .mark .skipif (zeo is None , reason = "zeo not present" )
193
193
class TestGetHighAccuracyVoronoiNodes (TestCase ):
194
194
def setUp (self ):
195
195
filepath = f"{ VASP_IN_DIR } /POSCAR"
@@ -209,7 +209,7 @@ def test_get_voronoi_nodes(self):
209
209
assert isinstance (vor_node_struct , Structure )
210
210
211
211
212
- @pytest .mark .skipif (zeo is None , reason = "zeo not present. " )
212
+ @pytest .mark .skipif (zeo is None , reason = "zeo not present" )
213
213
class TestGetVoronoiNodesMultiOxi (TestCase ):
214
214
def setUp (self ):
215
215
filepath = f"{ VASP_IN_DIR } /POSCAR"
0 commit comments