Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
e0783090
Commit
e0783090
authored
5 years ago
by
Phil
Committed by
Phil Colebrooke
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Re #26591 flake8 fixes
parent
8b30753a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
qt/python/mantidqt/widgets/plotconfigdialog/curvestabwidget/test/test_curvestabwidgetpresenter.py
+2
-3
2 additions, 3 deletions
...log/curvestabwidget/test/test_curvestabwidgetpresenter.py
with
2 additions
and
3 deletions
qt/python/mantidqt/widgets/plotconfigdialog/curvestabwidget/test/test_curvestabwidgetpresenter.py
+
2
−
3
View file @
e0783090
...
...
@@ -14,7 +14,6 @@ from matplotlib import use as mpl_use
mpl_use
(
'
Agg
'
)
# noqa
from
matplotlib.pyplot
import
figure
from
qtpy.QtCore
import
Qt
from
mantid.simpleapi
import
CreateWorkspace
from
mantid.plots
import
MantidAxes
# register MantidAxes projection # noqa
...
...
@@ -253,7 +252,7 @@ class CurvesTabWidgetPresenterTest(unittest.TestCase):
@patch.object
(
CurvesTabWidgetPresenter
,
"
apply_properties
"
)
def
test_errorbar_apply_to_all_button_sets_and_applies_properties_to_each_curve_if_hide_errorbars_is_unticked
\
(
self
,
mock_apply_properties
):
(
self
,
mock_apply_properties
):
fig
=
self
.
make_figure_with_multiple_curves
()
mock_view
=
Mock
(
get_selected_ax_name
=
lambda
:
"
Axes 0: (0, 0)
"
,
...
...
@@ -273,7 +272,7 @@ class CurvesTabWidgetPresenterTest(unittest.TestCase):
@patch.object
(
CurvesTabWidgetPresenter
,
"
apply_properties
"
)
def
test_errorbar_apply_to_all_button_does_not_set_properties_if_hide_errorbars_is_ticked
\
(
self
,
mock_apply_properties
):
(
self
,
mock_apply_properties
):
fig
=
self
.
make_figure_with_multiple_curves
()
mock_view
=
Mock
(
get_selected_ax_name
=
lambda
:
"
Axes 0: (0, 0)
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment