~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to unittest27/test/test_setups.py

  • Committer: Mallory MARCOT
  • Date: 2018-07-25 09:43:22 UTC
  • mto: This revision was merged to the branch mainline in revision 138.
  • Revision ID: mma@tempo-consulting.fr-20180725094322-78sw94kax6ujwvng
can now select currency for each HQ

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import sys
2
2
 
3
 
from io import StringIO
 
3
from cStringIO import StringIO
4
4
 
5
5
import unittest
6
6
 
501
501
 
502
502
        messages = ('setUpModule', 'tearDownModule', 'setUpClass', 'tearDownClass', 'test_something')
503
503
        for phase, msg in enumerate(messages):
504
 
            with self.assertRaisesRegex(Exception, msg):
 
504
            with self.assertRaisesRegexp(Exception, msg):
505
505
                suite.debug()
506
506
 
507
507
if __name__ == '__main__':