From 7ebb3a484cd6c5c1a2e90e4aa9991aa60fe21f7d Mon Sep 17 00:00:00 2001 From: Brittany Watterson Date: Fri, 21 Jun 2024 09:35:13 -0400 Subject: [PATCH] updated unit test --- tests/test_analysis/test_bond_angles_dihedrals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_analysis/test_bond_angles_dihedrals.py b/tests/test_analysis/test_bond_angles_dihedrals.py index 7f25c647..c14d3e74 100644 --- a/tests/test_analysis/test_bond_angles_dihedrals.py +++ b/tests/test_analysis/test_bond_angles_dihedrals.py @@ -144,12 +144,13 @@ def test_run_fail_compute_angles(patched_load_single_traj, compute_angles_tool): # Similar tests for other classes (ComputeChi1, ComputeChi2, etc.) +@patch("matplotlib.pyplot.savefig") @patch("mdtraj.compute_phi") @patch("mdtraj.compute_psi") def test_run_success_ramachandran_plot( - mock_savefig, mock_compute_psi, mock_compute_phi, + mock_savefig, patched_load_single_traj, ramachandran_plot_tool, ):