Prechádzať zdrojové kódy

HUE-8747 [core] Fix download test.

jdesjean 6 rokov pred
rodič
commit
141b69dbdd
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      apps/beeswax/src/beeswax/tests.py

+ 2 - 2
apps/beeswax/src/beeswax/tests.py

@@ -844,8 +844,8 @@ for x in sys.stdin:
       handle = self.db.execute_and_wait(query)
       resp = download(handle, 'xls', self.db)
       sheet_data = _read_xls_sheet_data(resp)
-      # It should have 5 lines
-      assert_equal(len(sheet_data), 5, sheet_data)
+      # It should have 6 lines (header + 5 lines)
+      assert_equal(len(sheet_data), 6, sheet_data)
     finally:
       finish()