-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm having the following errors when running the tests from the SVN
trunk. Do you have the same ? If you don't I'll look into my
environment : I'm unsure if it's clean.
Cheers
===============================================================================
[FAIL]: __main__.PokerServiceTestCase.test15_runTourney
Traceback (most recent call last):
File "./test-pokerservice.py", line 1175, in test15_runTourney
'tourneyRegister: INSERT INTO user2tourney (user_serial,
currency_serial, tourney_serial) VALUES (%d, 1, 1)' % self.user1_serial])
twisted.trial.unittest.FailTest: not equal:
a = ['tourneyRegister: UPDATE user2money SET amount = amount - 300000
WHERE user_serial = 4 AND currency_serial = 1 AND amount
> = 300000',
'INSERT INTO monitor (event, param1, param2, param3) VALUES (6, 4, 1,
300000)',
'tourneyRegister: INSERT INTO user2tourney (user_serial,
currency_serial, tourney_serial) VALUES (4, 1, 1)']
b = ['tourneyRegister: UPDATE user2money SET amount = amount - 300000
WHERE user_serial = 4 AND currency_serial = 1 AND amount
> = 300000',
'tourneyRegister: INSERT INTO user2tourney (user_serial,
currency_serial, tourney_serial) VALUES (4, 1, 1)']
===============================================================================
[FAIL]: __main__.TourneyManagerTestCase.test01_no_rank
Traceback (most recent call last):
File "./test-pokerservice.py", line 1637, in test01_no_rank
self.assertEquals(get_messages(), ['tourneyRegister: UPDATE
user2money SET amount = amount - 300000 WHERE user_serial = 4
AND currency_serial = 1 AND amount >= 300000',
'tourneyRegister: INSERT INTO user2tourney (user_serial,
currency_serial, tourney_serial) VALUES (4, 1, 1)'])
twisted.trial.unittest.FailTest: not equal:
a = ['tourneyRegister: UPDATE user2money SET amount = amount - 300000
WHERE user_serial = 4 AND currency_serial = 1 AND amount
> = 300000',
'INSERT INTO monitor (event, param1, param2, param3) VALUES (6, 4, 1,
300000)',
'tourneyRegister: INSERT INTO user2tourney (user_serial,
currency_serial, tourney_serial) VALUES (4, 1, 1)']
b = ['tourneyRegister: UPDATE user2money SET amount = amount - 300000
WHERE user_serial = 4 AND currency_serial = 1 AND amount
> = 300000',
'tourneyRegister: INSERT INTO user2tourney (user_serial,
currency_serial, tourney_serial) VALUES (4, 1, 1)']
-
-------------------------------------------------------------------------------
Ran 211 tests in 104.604s
FAILED (failures=2, successes=209)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkn+uVwACgkQ8dLMyEl6F22AxwCgkY318WYBd8BvfRVP3hRb8sbV
05sAnixha+zeviULCuXIkarE/dHRAd7r
=N2yl
-----END PGP SIGNATURE-----
begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:pokersource
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:[email protected]
title:Senior Developer
tel;work:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
x-mozilla-html:FALSE
url:http://dachary.org/
version:2.1
end:vcard
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users