BUG: Force string for asset data values.

Internal tests depend on string vs. unicode for various asset data, so
enforce strings by setting the text_factory on the sqlite connection.
This commit is contained in:
Eddie Hebert
2015-07-15 09:24:42 -04:00
parent 3f57b742d3
commit 64bbb83ee8
+1
View File
@@ -116,6 +116,7 @@ class AssetFinder(object):
pd.Timestamp('now', tz='UTC'))
self.conn = sqlite3.connect(db_path)
self.conn.text_factory = str
self.cursor = self.conn.cursor()
# The AssetFinder also holds a nested-dict of all metadata for