From 62a3ff3562c5b9c534794c2d0bb6320de7747135 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 14 Dec 2017 18:16:51 +0100 Subject: [PATCH] Do not assert dataset state in test_gzipped_html_content_blocked_by_default test --- test/integration/test_upload_configuration_options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/test_upload_configuration_options.py b/test/integration/test_upload_configuration_options.py index 1e88759cefd8..dc2d91a60efa 100644 --- a/test/integration/test_upload_configuration_options.py +++ b/test/integration/test_upload_configuration_options.py @@ -82,9 +82,9 @@ def test_random_binary_allowed(self): def test_gzipped_html_content_blocked_by_default(self): dataset = self.dataset_populator.new_dataset( - self.history_id, 'file://%s/bad.html.gz' % TEST_DATA_DIRECTORY, file_type="auto", wait=True + self.history_id, 'file://%s/bad.html.gz' % TEST_DATA_DIRECTORY, file_type="auto", wait=True, assert_ok=False ) - dataset = self.dataset_populator.get_history_dataset_details(self.history_id, dataset=dataset) + dataset = self.dataset_populator.get_history_dataset_details(self.history_id, dataset=dataset, assert_ok=False) assert dataset["file_size"] == 0