Skip to content

Commit e885676

Browse files
author
Moreno
committed
Fix tests/test_anchors.py after merge edits
1 parent 7f284cb commit e885676

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_anchors.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import matplotlib.pyplot as plt
66
import pytest
77

8-
<<<<<<< HEAD
98
# --- Helper goes at module level ---
109
def assign_soil(anchor, soil_label, project):
1110
soil_def = project.soilProps[soil_label]
@@ -20,13 +19,8 @@ def assign_soil(anchor, soil_label, project):
2019
anchor.setSoilProfile(profile_map)
2120
anchor.profile_name = 'CPT_Assigned'
2221

23-
24-
def test_anchor_loads():
25-
# load in famodel project
26-
=======
2722
@pytest.fixture
2823
def project():
29-
>>>>>>> dev
3024
dir = os.path.dirname(os.path.realpath(__file__))
3125
return(Project(file=os.path.join(dir,'testOntology.yaml'), raft=False))
3226

@@ -45,7 +39,6 @@ def test_anchor_loads(project):
4539
Vm = anch.loads.get('Vm')
4640
zlug = anch.dd['design']['zlug']
4741

48-
<<<<<<< HEAD
4942
# Compute lug loads
5043
_, Ha, Va = anch.getLugForces(Hm, Vm, zlug, plot=False)
5144
anch.loads['Ha'] = Ha
@@ -56,10 +49,7 @@ def test_anchor_loads(project):
5649
assert 'Hm' in anch.loads
5750
assert anch.loads['Ha'] != anch.loads['Hm']
5851

59-
def test_anchor_capacities():
60-
=======
6152
def test_anchor_capacities(project):
62-
>>>>>>> dev
6353
# load in famodel project (suction pile anchor)
6454
project.getMoorPyArray(cables=1)
6555
anch = project.anchorList['FOWT1a']

0 commit comments

Comments
 (0)