~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlwebchat/tests.py

  • Committer: kaputtnik
  • Date: 2019-06-14 18:40:56 UTC
  • mfrom: (532.1.31 widelands)
  • Revision ID: kaputtnik-20190614184056-l0ha8pm5zais9mxk
Adapted code for use with python 3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
        """
15
15
        Tests that 1 + 1 always equals 2.
16
16
        """
17
 
        self.failUnlessEqual(1 + 1, 2)
 
17
        self.assertEqual(1 + 1, 2)
18
18
 
19
19
__test__ = {'doctest': """
20
20
Another way to test that 1 + 1 is equal to 2.