Pierre, after compiling your patched version of soya, i tried the unittests, the log follows: =============================== deavid:~/git/soya/soya/test$ ls data unittest_geom.py unittest_ode_body.py unittest_render.py unittest_categories.py unittest_gravity.py unittest_ode_geom.py unittest_task.py unittest_events.py unittest_init.py unittest_ode_gravity.py unittest_time.py deavid:~/git/soya/soya/test$ python unittest_categories.py ....... ---------------------------------------------------------------------- Ran 7 tests in 3.245s
OK deavid:~/git/soya/soya/test$ python unittest_events.py ........E ====================================================================== ERROR: test_queue_event (__main__.EventsTC) ---------------------------------------------------------------------- Traceback (most recent call last): File "unittest_events.py", line 68, in test_queue_event self.assertIn(DOWN_LEFT, self.main_loop.raw_events) AttributeError: 'EventsTC' object has no attribute 'assertIn' ---------------------------------------------------------------------- Ran 9 tests in 1.230s FAILED (errors=1) deavid:~/git/soya/soya/test$ python unittest_geom.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.003s OK deavid:~/git/soya/soya/test$ python unittest_gravity.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.003s OK deavid:~/git/soya/soya/test$ python unittest_init.py .... ---------------------------------------------------------------------- Ran 4 tests in 1.413s OK deavid:~/git/soya/soya/test$ python unittest_ode_body.py ........ ---------------------------------------------------------------------- Ran 8 tests in 2.815s OK deavid:~/git/soya/soya/test$ python unittest_ode_geom.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.002s OK deavid:~/git/soya/soya/test$ python unittest_ode_gravity.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.003s OK deavid:~/git/soya/soya/test$ python unittest_render.py FF ====================================================================== FAIL: test_render_back (__main__.ScreenShotTC) ---------------------------------------------------------------------- Traceback (most recent call last): File "unittest_render.py", line 57, in test_render_back self.assertEquals(screenshot.getpixel((0,0)),(255, 0, 0)) AssertionError: (0, 0, 0) != (255, 0, 0) ====================================================================== FAIL: test_render_front (__main__.ScreenShotTC) ---------------------------------------------------------------------- Traceback (most recent call last): File "unittest_render.py", line 44, in test_render_front self.assertEquals(screenshot.getpixel((0,0)),(255, 0, 0)) AssertionError: (0, 0, 0) != (255, 0, 0) ---------------------------------------------------------------------- Ran 2 tests in 1.367s FAILED (failures=2) deavid:~/git/soya/soya/test$ python unittest_task.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.699s OK deavid:~/git/soya/soya/test$ python unittest_time.py ... ---------------------------------------------------------------------- Ran 3 tests in 1.071s OK _______________________________________________ Soya-user mailing list Soya-user@gna.org https://mail.gna.org/listinfo/soya-user