浏览代码

HUE-7248 [adls] fix test_export_result

jdesjean 8 年之前
父节点
当前提交
97dd205c24
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      desktop/libs/notebook/src/notebook/tests.py

+ 0 - 12
desktop/libs/notebook/src/notebook/tests.py

@@ -406,18 +406,6 @@ class TestNotebookApiMocked(object):
     assert_equal(0, data['status'], data)
     assert_equal('/user/hue/path.csv', data['watch_url']['destination'], data)
 
-    response = self.client.post(reverse('notebook:export_result'), {
-        'notebook': notebook_json,
-        'snippet': json.dumps(json.loads(notebook_json)['snippets'][0]),
-        'format': json.dumps('hdfs-file'),
-        'destination': json.dumps('adl:/user/hue/path.csv'),
-        'overwrite': json.dumps(False)
-    })
-
-    data = json.loads(response.content)
-    assert_equal(0, data['status'], data)
-    assert_equal('adl:/user/hue/path.csv', data['watch_url']['destination'], data)
-
 
 def test_get_interpreters_to_show():
   default_interpreters = OrderedDict((