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

chat.freenode.net #tryton log beginning Thu Sep 24 00:00:02 CEST 2009
udonocedk: are you awake?01:18
cedkudono: yes but not for long :-)01:21
udonocedk: how do I find out in which order the tests on modules are running?01:21
cedkudono: don't understand01:22
udonocedk: can I force to run test_product before test_invoice?01:22
udonoand test_account before them all01:24
udonocedk:01:24
cedkudono: import the test and run the suite01:25
udonocedk: hmm01:26
cedkgo to sleep01:26
cedkbye01:26
udonog'night01:26
-!- ikks(n=ikks@190.158.100.203) has joined #tryton04:12
-!- vengfulsquirrel(n=ian@69.181.194.95) has joined #tryton04:31
-!- yangoon(n=mathiasb@p549F351A.dip.t-dialin.net) has joined #tryton05:19
-!- paepke(n=paepke@imap.metaldyne.de) has joined #tryton07:57
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton07:59
-!- MarkusB(n=burli@dslb-088-068-141-244.pools.arcor-ip.net) has joined #tryton08:27
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:37
-!- dukai(n=quassel@93.86.28.136) has joined #tryton08:37
-!- carlos(n=carlos@206.157.221.87.dynamic.jazztel.es) has joined #tryton08:51
-!- Timitos(n=timitos@88.217.184.172) has joined #tryton09:57
-!- ChanServ(ChanServ@services.) has joined #tryton11:14
-!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton11:14
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton11:14
-!- yangoon(n=mathiasb@p549F351A.dip.t-dialin.net) has joined #tryton11:14
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton11:14
-!- MarkusB(n=burli@dslb-088-068-141-244.pools.arcor-ip.net) has joined #tryton11:14
-!- dukai(n=quassel@93.86.28.136) has joined #tryton11:14
-!- Timitos(n=timitos@88.217.184.172) has joined #tryton11:14
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton11:15
-!- CIA-2(n=CIA@208.69.182.149) has joined #tryton11:15
-!- tekknokrat(n=gthieleb@dslb-088-074-151-144.pools.arcor-ip.net) has joined #tryton11:27
-!- paepke(n=paepke@imap.metaldyne.de) has joined #tryton11:27
-!- udono(n=udono@dynamic-unidsl-85-197-16-75.westend.de) has joined #tryton11:27
-!- tekknokrat(n=gthieleb@dslb-088-074-151-144.pools.arcor-ip.net) has joined #tryton13:32
udonocedk: 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?13:32
udonocedk: btw hi13:32
-!- tekknokrat(n=gthieleb@dslb-088-074-151-144.pools.arcor-ip.net) has joined #tryton13:33
cedkudono: yes, I think13:33
udonocedk: but we wil have more tests than we cover, isn't it?13:34
udonoif 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...13:35
cedkudono: the product will be already created13:40
CIA-2matb roundup * #1189/'tuple' object does not support item assignment:14:29
CIA-2[new] Printing general ledger from neso (patches for safe_eval installed):14:29
CIA-2ERROR:dispatcher:Exception calling method execute on report account. ...14:29
CIA-2http://bugs.tryton.org/roundup/issue118914:29
udonocedk: ok, but how is the sequence in which te tests inside the modules are tested? Is it the standard depends tree of tryton?14:49
udonothat is account invoice test is not run before account-, product-, party-test, etc?14:50
udonos/inside the modules are tested/inside the modules are run/14:51
-!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton15:11
-!- _TiN_(i=ahenze@190.0.162.41) has joined #tryton16:35
-!- Gedd(n=ged@77.109.113.131) has joined #tryton17:35
-!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton17:58
-!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton18:35
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton18:53
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton19:09
cedkudono: you write the sequence when you build the test suite19:54
udonocedk: 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?19:58
cedkudono: you can retreive the suite of other modules with the function suite()19:59
udonocedk: yes, I understand. I think I will collect some new tests and put them for review...20:01
udonocedk: 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...20:02
udonocedk: for this I thought about a metamodule which collect some simple usecase modules and a testsuite for them. What do you think about?20:02
cedkudono: except by installing the chart, I don't see what you want to test20:03
-!- Timitos(n=timitos@88.217.184.172) has joined #tryton20:03
udonocedk: I like to test, if balance and income statement adäquate.20:03
udonotaxreports, too20:04
cedkudono: don't undertstand20:04
udonoit is a test of the internal structure of the chart of account.20:04
udonocedk:20:04
cedkudono: unittest are to test a part of the code20:04
udonocedk: ok, thanks20:05
cedkudono: you can still write a script that make a lot of actions20:06
cedkudono: you can look at currency module20:07
cedkudono: this is this kind of test that we need20:07
cedkudono: and for this module, it is still not enough, we must test some more function that are not available by netrpc20:08
cedkudono: I need to write some more stuff to be able to test internal function from unittest20:08
-!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton20:32
-!- gour(n=Gour@93.159.66.67) has joined #tryton20:41
-!- monkeytower(n=monkeyto@88.76.229.48) has joined #tryton21:04
-!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton21:36
-!- woakas(n=woakas@190.144.69.234) has joined #tryton22:07
-!- vengfulsquirrel(n=ian@69.181.194.95) has joined #tryton22:18
-!- carlos(n=carlos@55.157.221.87.dynamic.jazztel.es) has joined #tryton22:31
CIA-2C?dric Krier <ced@b2ck.com> default * 507:0102bcbfc84d account/account.py: Fix Decimal convertion for SQLite because row is a tuple for issue118922:44
CIA-2http://hg.tryton.org/modules/account/rev/0102bcbfc84d22:44
CIA-2ced roundup * #1189/'tuple' object does not support item assignment: [resolved] Fix with changeset 0102bcbfc84d22:44
CIA-2http://bugs.tryton.org/roundup/issue118922:44
monkeytowerhello22:56
vengfulsquirrelhey22:58
-!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton23:16
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton23:32
-!- jerojasro(n=jerojasr@190.144.69.234) has left #tryton23:52

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!