Module tpc
tpc.py
Created by Prateek Sureka on 2007-02-06. Copyright (c) 2007 Brainwave
Llc. All rights reserved.
|
|
uu = uuid.uuid4
|
|
|
WARE = 1
|
|
|
MAXITEMS = 2000
|
|
|
CUST_PER_DIST = 10
|
|
|
DIST_PER_WARE = 5
|
|
|
ORD_PER_DIST = 10
|
Imports:
sys,
uuid,
unittest,
glob,
os,
pprint,
operator,
time,
random,
BasicContext,
Underflow,
DecimalException,
DivisionByZero,
InvalidOperation,
ROUND_DOWN,
ROUND_HALF_EVEN,
ROUND_HALF_UP,
ROUND_UP,
Inexact,
getcontext,
ROUND_FLOOR,
Overflow,
ROUND_HALF_DOWN,
Decimal,
DefaultContext,
Context,
ROUND_CEILING,
Subnormal,
Rounded,
ExtendedContext,
setcontext,
Clamped,
Idea,
gmtime,
strptime,
strftime,
quoteattr,
escape