IRC logs of #tryton for Thursday, 2009-09-24

chat.freenode.net #tryton log beginning Thu Sep 24 00:00:02 CEST 2009
2009-09-24 01:18 <udono> cedk: are you awake?
2009-09-24 01:21 <cedk> udono: yes but not for long :-)
2009-09-24 01:21 <udono> cedk: how do I find out in which order the tests on modules are running?
2009-09-24 01:22 <cedk> udono: don't understand
2009-09-24 01:22 <udono> cedk: can I force to run test_product before test_invoice?
2009-09-24 01:24 <udono> and test_account before them all
2009-09-24 01:24 <udono> cedk:
2009-09-24 01:25 <cedk> udono: import the test and run the suite
2009-09-24 01:26 <udono> cedk: hmm
2009-09-24 01:26 <cedk> go to sleep
2009-09-24 01:26 <cedk> bye
2009-09-24 01:26 <udono> g'night
2009-09-24 04:12 -!- ikks(n=ikks@190.158.100.203) has joined #tryton
2009-09-24 04:31 -!- vengfulsquirrel(n=ian@69.181.194.95) has joined #tryton
2009-09-24 05:19 -!- yangoon(n=mathiasb@p549F351A.dip.t-dialin.net) has joined #tryton
2009-09-24 07:57 -!- paepke(n=paepke@imap.metaldyne.de) has joined #tryton
2009-09-24 07:59 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-09-24 08:27 -!- MarkusB(n=burli@dslb-088-068-141-244.pools.arcor-ip.net) has joined #tryton
2009-09-24 08:37 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-09-24 08:37 -!- dukai(n=quassel@93.86.28.136) has joined #tryton
2009-09-24 08:51 -!- carlos(n=carlos@206.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-24 09:57 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-09-24 11:14 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-09-24 11:14 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2009-09-24 11:14 -!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2009-09-24 11:14 -!- yangoon(n=mathiasb@p549F351A.dip.t-dialin.net) has joined #tryton
2009-09-24 11:14 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-09-24 11:14 -!- MarkusB(n=burli@dslb-088-068-141-244.pools.arcor-ip.net) has joined #tryton
2009-09-24 11:14 -!- dukai(n=quassel@93.86.28.136) has joined #tryton
2009-09-24 11:14 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-09-24 11:15 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-09-24 11:15 -!- CIA-2(n=CIA@208.69.182.149) has joined #tryton
2009-09-24 11:27 -!- tekknokrat(n=gthieleb@dslb-088-074-151-144.pools.arcor-ip.net) has joined #tryton
2009-09-24 11:27 -!- paepke(n=paepke@imap.metaldyne.de) has joined #tryton
2009-09-24 11:27 -!- udono(n=udono@dynamic-unidsl-85-197-16-75.westend.de) has joined #tryton
2009-09-24 13:32 -!- tekknokrat(n=gthieleb@dslb-088-074-151-144.pools.arcor-ip.net) has joined #tryton
2009-09-24 13:32 <udono> cedk: I like to automate some tests for account_invoice. For this I need an accounting chart, standard accounts, fiscal year, sequences, periods, payment_term, company, party, product. Iam looking for a clean way to do this. Is ist good to define each test in the tests/ from their specific module. And later is it good to use the subtests in account_invoice to create an invoice test environment?
2009-09-24 13:32 <udono> cedk: btw hi
2009-09-24 13:33 -!- tekknokrat(n=gthieleb@dslb-088-074-151-144.pools.arcor-ip.net) has joined #tryton
2009-09-24 13:33 <cedk> udono: yes, I think
2009-09-24 13:34 <udono> cedk: but we wil have more tests than we cover, isn't it?
2009-09-24 13:35 <udono> if I test on product the creation of a product, I will test the same creation again on account_invoice to have a product for the invoice...
2009-09-24 13:40 <cedk> udono: the product will be already created
2009-09-24 14:29 <CIA-2> matb roundup * #1189/'tuple' object does not support item assignment:
2009-09-24 14:29 <CIA-2> [new] Printing general ledger from neso (patches for safe_eval installed):
2009-09-24 14:29 <CIA-2> ERROR:dispatcher:Exception calling method execute on report account. ...
2009-09-24 14:29 <CIA-2> http://bugs.tryton.org/roundup/issue1189
2009-09-24 14:49 <udono> cedk: ok, but how is the sequence in which te tests inside the modules are tested? Is it the standard depends tree of tryton?
2009-09-24 14:50 <udono> that is account invoice test is not run before account-, product-, party-test, etc?
2009-09-24 14:51 <udono> s/inside the modules are tested/inside the modules are run/
2009-09-24 15:11 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-24 16:35 -!- _TiN_(i=ahenze@190.0.162.41) has joined #tryton
2009-09-24 17:35 -!- Gedd(n=ged@77.109.113.131) has joined #tryton
2009-09-24 17:58 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-24 18:35 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-24 18:53 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-09-24 19:09 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-24 19:54 <cedk> udono: you write the sequence when you build the test suite
2009-09-24 19:58 <udono> cedk: My question directs to the point, when I create a test suite, did I collect everything I need inside, or is there more distributed way and I build my suite upon the already created results of other suits?
2009-09-24 19:59 <cedk> udono: you can retreive the suite of other modules with the function suite()
2009-09-24 20:01 <udono> cedk: yes, I understand. I think I will collect some new tests and put them for review...
2009-09-24 20:02 <udono> cedk: other point, how can we test charts of accounts? since the chart of accounts is not related to account_invoice, I don't now where to put the test...
2009-09-24 20:02 <udono> cedk: for this I thought about a metamodule which collect some simple usecase modules and a testsuite for them. What do you think about?
2009-09-24 20:03 <cedk> udono: except by installing the chart, I don't see what you want to test
2009-09-24 20:03 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-09-24 20:03 <udono> cedk: I like to test, if balance and income statement adäquate.
2009-09-24 20:04 <udono> taxreports, too
2009-09-24 20:04 <cedk> udono: don't undertstand
2009-09-24 20:04 <udono> it is a test of the internal structure of the chart of account.
2009-09-24 20:04 <udono> cedk:
2009-09-24 20:04 <cedk> udono: unittest are to test a part of the code
2009-09-24 20:05 <udono> cedk: ok, thanks
2009-09-24 20:06 <cedk> udono: you can still write a script that make a lot of actions
2009-09-24 20:07 <cedk> udono: you can look at currency module
2009-09-24 20:07 <cedk> udono: this is this kind of test that we need
2009-09-24 20:08 <cedk> udono: and for this module, it is still not enough, we must test some more function that are not available by netrpc
2009-09-24 20:08 <cedk> udono: I need to write some more stuff to be able to test internal function from unittest
2009-09-24 20:32 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-24 20:41 -!- gour(n=Gour@93.159.66.67) has joined #tryton
2009-09-24 21:04 -!- monkeytower(n=monkeyto@88.76.229.48) has joined #tryton
2009-09-24 21:36 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-24 22:07 -!- woakas(n=woakas@190.144.69.234) has joined #tryton
2009-09-24 22:18 -!- vengfulsquirrel(n=ian@69.181.194.95) has joined #tryton
2009-09-24 22:31 -!- carlos(n=carlos@55.157.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-24 22:44 <CIA-2> C?dric Krier <ced@b2ck.com> default * 507:0102bcbfc84d account/account.py: Fix Decimal convertion for SQLite because row is a tuple for issue1189
2009-09-24 22:44 <CIA-2> http://hg.tryton.org/modules/account/rev/0102bcbfc84d
2009-09-24 22:44 <CIA-2> ced roundup * #1189/'tuple' object does not support item assignment: [resolved] Fix with changeset 0102bcbfc84d
2009-09-24 22:44 <CIA-2> http://bugs.tryton.org/roundup/issue1189
2009-09-24 22:56 <monkeytower> hello
2009-09-24 22:58 <vengfulsquirrel> hey
2009-09-24 23:16 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-24 23:32 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-24 23:52 -!- jerojasro(n=jerojasr@190.144.69.234) has left #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!