We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29839b9 commit 619cac7Copy full SHA for 619cac7
1 file changed
osf_tests/metrics/test_daily_report.py
@@ -10,8 +10,9 @@
10
class TestDailyReportKey:
11
@pytest.fixture
12
def mock_save(self):
13
- with mock.patch('elasticsearch6_dsl.Document.save', autospec=True) as mock_save:
14
- yield mock_save
+ with mock.patch('elasticsearch_metrics.imps.elastic6.BaseMetric.check_index_template'):
+ with mock.patch('elasticsearch6_dsl.Document.save', autospec=True) as mock_save:
15
+ yield mock_save
16
17
def test_default(self, mock_save):
18
# only one of this type of report per day
0 commit comments