From 6179823d92b0b4edd7872555651bbc2f4a19d0c4 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 1 Feb 2010 14:47:04 +0800 Subject: [PATCH] Fix test harness after fpdb_db removal --- pyfpdb/test_Database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyfpdb/test_Database.py b/pyfpdb/test_Database.py index 25bd6dbc..bae28564 100644 --- a/pyfpdb/test_Database.py +++ b/pyfpdb/test_Database.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- import sqlite3 -import fpdb_db +import Database import math # Should probably use our wrapper classes - creating sqlite db in memory @@ -14,11 +14,11 @@ con.isolation_level = None con.create_function("floor", 1, math.floor) #Mod function -tmp = fpdb_db.sqlitemath() +tmp = Database.sqlitemath() con.create_function("mod", 2, tmp.mod) # Aggregate function VARIANCE() -con.create_aggregate("variance", 1, fpdb_db.VARIANCE) +con.create_aggregate("variance", 1, Database.VARIANCE) cur = con.cursor()