Skip to content

Commit

Permalink
Do not assert dataset state in test_gzipped_html_content_blocked_by_d…
Browse files Browse the repository at this point in the history
…efault test
  • Loading branch information
mvdbeek committed Dec 14, 2017
1 parent 3d2adcd commit 62a3ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/test_upload_configuration_options.py
Expand Up @@ -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


Expand Down

0 comments on commit 62a3ff3

Please sign in to comment.