~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to account_hq_entries/test/20_import_and_validation.yml

  • Committer: jf
  • Date: 2014-01-14 07:53:33 UTC
  • mfrom: (1868.1.34 UF_2237)
  • Revision ID: jfb@tempo-consulting.fr-20140114075333-hmnqc97prb57w0rn
UF-2237 [IMP] Restrictions on accounts use in the interface
lp:~unifield-team/unifield-wm/UF_2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    # Test that 7 JE are on HQ journal
60
60
    logging.getLogger('tests').log(logging.INFO, "7 JE on HQ")
61
61
    je_hq_ids = self.search(cr, uid, [('journal_id.type', '=', 'hq')])
62
 
    assert len(je_hq_ids) == 7, "Expect 7 moves in HQ Journal. Current: %s" % len(res_ids)
 
62
    assert len(je_hq_ids) == 7, "Expect 7 moves in HQ Journal. Current: %s" % len(je_hq_ids)
63
63
    # Test that 2 JE are done January the 9th
64
64
    logging.getLogger('tests').log(logging.INFO, "2 JE on HQ, January the 9th")
65
65
    je_9_ids = self.search(cr, uid, [('journal_id.type', '=', 'hq'), ('date', '=', time.strftime('%Y-01-09'))])