TST: fix data tests

This commit is contained in:
Joe Jevnik
2016-07-25 13:09:55 -04:00
committed by LotannaEzenwa
parent ef4eafbbb8
commit e8728c0cd4
6 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -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()
+3
View File
@@ -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,
)