3232
3333
3434def testSphere (sas_available ):
35- pytest .skip ("calculate_ER() not available" )
35+ # if not sas_available:
36+ # pytest.skip("sas package not available")
37+ pytest .skip (
38+ "sas characteristic functions not currently working, "
39+ + "remove skip when our code is refactored to use the "
40+ + "latest sasview API"
41+ )
3642 radius = 25
3743 # Calculate sphere cf from SphereModel
3844 SphereModel = find_model ("sphere" )
@@ -52,7 +58,13 @@ def testSphere(sas_available):
5258
5359
5460def testSpheroid (sas_available ):
55- pytest .skip ("calculate_ER() not available" )
61+ # if not sas_available:
62+ # pytest.skip("sas package not available")
63+ pytest .skip (
64+ "sas characteristic functions not currently working, "
65+ + "remove skip when our code is refactored to use the "
66+ + "latest sasview API"
67+ )
5668 prad = 20.9
5769 erad = 33.114
5870 # Calculate cf from EllipsoidModel
@@ -74,7 +86,13 @@ def testSpheroid(sas_available):
7486
7587
7688def testShell (sas_available ):
77- pytest .skip ("calculate_ER() not available" )
89+ # if not sas_available:
90+ # pytest.skip("sas package not available")
91+ pytest .skip (
92+ "sas characteristic functions not currently working, "
93+ + "remove skip when our code is refactored to use the "
94+ + "latest sasview API"
95+ )
7896 radius = 19.2
7997 thickness = 7.8
8098 # Calculate cf from VesicleModel
@@ -96,7 +114,13 @@ def testShell(sas_available):
96114
97115
98116def testCylinder (sas_available ):
99- pytest .skip ("calculate_ER() not available" )
117+ # if not sas_available:
118+ # pytest.skip("sas package not available")
119+ pytest .skip (
120+ "sas characteristic functions not currently working, "
121+ + "remove skip when our code is refactored to use the "
122+ + "latest sasview API"
123+ )
100124 """Make sure cylinder works over different r-ranges."""
101125 radius = 100
102126 length = 30
0 commit comments