that shouldn't change after they're in place anyway so I'll likely remove it once things are deemed fairly functional
34 lines
677 B
Python
34 lines
677 B
Python
"""
|
|
from record import SubmitterRecord
|
|
from record import EmployerRecord
|
|
from record import EmployeeWageRecord
|
|
from record import OptionalEmployeeWageRecord
|
|
from record import TotalRecord
|
|
from record import OptionalTotalRecord
|
|
from record import StateTotalRecord
|
|
from record import FinalRecord
|
|
"""
|
|
|
|
RECORD_TYPES = [
|
|
'SubmitterRecord',
|
|
'EmployerRecord',
|
|
'EmployeeWageRecord',
|
|
'OptionalEmployeeWageRecord',
|
|
'TotalRecord',
|
|
'OptionalTotalRecord',
|
|
'StateTotalRecord',
|
|
'FinalRecord',
|
|
]
|
|
|
|
|
|
|
|
def test():
|
|
import record, model
|
|
for rname in RECORD_TYPES:
|
|
inst = record.__dict__[rname]()
|
|
print type(inst), len(inst.output())
|
|
|
|
|
|
|
|
|
|
|