mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-15 11:22:18 +08:00
TST: fix data tests
This commit is contained in:
committed by
LotannaEzenwa
parent
ef4eafbbb8
commit
e8728c0cd4
@@ -303,7 +303,7 @@ class BundleCoreTestCase(WithInstanceTmpDir, ZiplineTestCase):
|
||||
output_dir):
|
||||
_wrote_to.append(output_dir)
|
||||
|
||||
_wrote_to.clear()
|
||||
_wrote_to[:] = []
|
||||
self.ingest('bundle', environ=self.environ)
|
||||
assert_equal(len(_wrote_to), 1, msg='ingest was called more than once')
|
||||
ingestions = self._list_bundle()
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from __future__ import division
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
from six.moves.urllib.parse import urlparse, parse_qs
|
||||
@@ -201,4 +203,5 @@ class YahooBundleTestCase(WithResponses, ZiplineTestCase):
|
||||
adjustments,
|
||||
expected,
|
||||
msg=column,
|
||||
decimal=4,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user