def create_initial_items(self):
default_rev_cat = RevenueCategory.objects.create(name='<STR_LIT>')<EOL>default_expense_cat = ExpenseCategory.objects.create(name='<STR_LIT>',defaultRate=<NUM_LIT:20>)<EOL>ei = ExpenseItem.objects.create(<EOL>hours=<NUM_LIT:1>,<EOL>category=default_expense_cat,<EOL>approved=True,<EOL>paid=True,<EOL>paymentDate=timezone.now(),<EOL>accrualDate=timezone.now(),<EOL>)<EOL>ri = RevenueItem.objects.create(<EOL>total=<NUM_LIT:50>,<EOL>category=default_rev_cat,<EOL>accrualDate=timezone.now(),<EOL>received=True,<EOL>)<EOL>return ei, ri<EOL>
Create initial revenue items and expense items to test that the
financial summary views are populated appropriately.