Skip to content

Commit

Permalink
UnitTest updated for the method
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Feb 3, 2022
1 parent 6be0ae0 commit 53348b2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _unittest/test_12_PostProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,19 @@ def test_15_export_plot(self):
)
assert os.path.exists(obj.image_file)

@pytest.mark.skipif(is_ironpython, reason="Not running in ironpython")
def test_16_create_field_plot(self):
cutlist = ["Global:XY"]
plot = self.aedtapp.post._create_fieldplot(
objlist=cutlist,
quantityName="Mag_E",
setup_name=self.aedtapp.nominal_adaptive,
intrinsincList={"Freq": "5GHz", "Phase": "0deg"},
objtype="Surface",
listtype="CutPlane",
)
assert plot

def test_51_get_efields(self):
if is_ironpython:

Expand Down

0 comments on commit 53348b2

Please sign in to comment.