setuptools integration
darcs-hash:20070508143542-86b55-a0a3ecad6c4dad7dc0e605db86cac9bbd1133f9f.gz
This commit is contained in:
@@ -47,7 +47,10 @@ from jcl.lang import Lang
|
||||
|
||||
from tests.jcl.model.account import ExampleAccount, Example2Account
|
||||
|
||||
DB_PATH = "/tmp/test.db"
|
||||
if sys.platform == "win32":
|
||||
DB_PATH = "/c|/temp/test.db"
|
||||
else:
|
||||
DB_PATH = "/tmp/test.db"
|
||||
DB_URL = DB_PATH# + "?debug=1&debugThreading=1"
|
||||
|
||||
class MockStream(object):
|
||||
|
||||
@@ -25,6 +25,7 @@ import unittest
|
||||
import os
|
||||
import threading
|
||||
import time
|
||||
import sys
|
||||
|
||||
from sqlobject import *
|
||||
from sqlobject.dbconnection import TheURIOpener
|
||||
@@ -40,7 +41,10 @@ from jcl.model import account
|
||||
|
||||
from tests.jcl.model.account import ExampleAccount, Example2Account
|
||||
|
||||
DB_PATH = "/tmp/test.db"
|
||||
if sys.platform == "win32":
|
||||
DB_PATH = "/c|/temp/test.db"
|
||||
else:
|
||||
DB_PATH = "/tmp/test.db"
|
||||
DB_URL = DB_PATH #+ "?debug=1&debugThreading=1"
|
||||
|
||||
class FeederComponent_TestCase(JCLComponent_TestCase):
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
##
|
||||
|
||||
import unittest
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
from sqlobject import *
|
||||
@@ -33,7 +33,10 @@ from jcl.model.account import Account, PresenceAccount
|
||||
|
||||
from tests.jcl.model.account import ExampleAccount, PresenceAccountExample
|
||||
|
||||
DB_PATH = "/tmp/test.db"
|
||||
if sys.platform == "win32":
|
||||
DB_PATH = "/c|/temp/test.db"
|
||||
else:
|
||||
DB_PATH = "/tmp/test.db"
|
||||
DB_URL = DB_PATH# + "?debug=1&debugThreading=1"
|
||||
|
||||
class AccountModule_TestCase(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user