lp:~bellini666/stoq/pyflakes_improvements
- Get this branch:
- bzr branch lp:~bellini666/stoq/pyflakes_improvements
Branch merges
- Ronaldo Maia: Pending requested
-
Diff: 1428 lines (+194/-228)74 files modifiedMakefile (+1/-1)
plugins/books/bookssearch.py (+0/-1)
plugins/books/booksslave.py (+0/-3)
plugins/books/booksui.py (+0/-3)
plugins/books/publishersearch.py (+1/-8)
plugins/ecf/ecfui.py (+1/-5)
plugins/ecf/tests/test_device.py (+0/-1)
plugins/nfe/nfegenerator.py (+0/-5)
plugins/nfe/nfeui.py (+0/-1)
stoq/dbadmin.py (+4/-4)
stoq/gui/pos.py (+0/-1)
stoq/gui/receivable.py (+1/-19)
stoq/gui/stock.py (+0/-1)
stoqlib/chart/chart.py (+7/-7)
stoqlib/chart/chartserver.py (+5/-3)
stoqlib/chart/paymentcharts.py (+3/-0)
stoqlib/database/admin.py (+4/-4)
stoqlib/database/database.py (+2/-2)
stoqlib/database/migration.py (+1/-2)
stoqlib/database/runtime.py (+1/-1)
stoqlib/database/testsuite.py (+1/-1)
stoqlib/domain/address.py (+1/-1)
stoqlib/domain/base.py (+1/-1)
stoqlib/domain/devices.py (+0/-2)
stoqlib/domain/event.py (+3/-3)
stoqlib/domain/product.py (+1/-2)
stoqlib/domain/test/test_nfe.py (+1/-2)
stoqlib/domain/test/test_person.py (+0/-2)
stoqlib/domain/test/test_sellable.py (+1/-1)
stoqlib/gui/accounttree.py (+0/-1)
stoqlib/gui/base/lists.py (+0/-1)
stoqlib/gui/dialogs/branchdialog.py (+0/-4)
stoqlib/gui/dialogs/chartdialog.py (+2/-0)
stoqlib/gui/dialogs/productiondialog.py (+0/-3)
stoqlib/gui/dialogs/productionquotedialog.py (+0/-1)
stoqlib/gui/dialogs/purchasedetails.py (+0/-1)
stoqlib/gui/editors/accounttransactioneditor.py (+0/-1)
stoqlib/gui/editors/personeditor.py (+1/-1)
stoqlib/gui/editors/profileeditor.py (+0/-2)
stoqlib/gui/editors/sellableeditor.py (+0/-1)
stoqlib/gui/editors/tilleditor.py (+2/-3)
stoqlib/gui/fiscalprinter.py (+1/-3)
stoqlib/gui/printing.py (+0/-24)
stoqlib/gui/search/eventsearch.py (+0/-2)
stoqlib/gui/search/fiscalsearch.py (+0/-2)
stoqlib/gui/slaves/employeeslave.py (+0/-3)
stoqlib/gui/slaves/paymentmethodslave.py (+0/-2)
stoqlib/gui/slaves/userslave.py (+1/-2)
stoqlib/gui/splash.py (+0/-1)
stoqlib/gui/templates/individualtemplate.py (+0/-1)
stoqlib/gui/wizards/purchasewizard.py (+1/-2)
stoqlib/importers/branchimporter.py (+10/-7)
stoqlib/importers/clientimporter.py (+9/-6)
stoqlib/importers/creditproviderimporter.py (+7/-6)
stoqlib/importers/csvimporter.py (+2/-4)
stoqlib/importers/employeeimporter.py (+8/-7)
stoqlib/importers/ofximporter.py (+0/-1)
stoqlib/importers/purchaseimporter.py (+8/-6)
stoqlib/importers/serviceimporter.py (+2/-2)
stoqlib/importers/supplierimporter.py (+9/-6)
stoqlib/importers/transporterimporter.py (+9/-6)
stoqlib/lib/devicemanager.py (+1/-0)
stoqlib/lib/imageutils.py (+0/-2)
stoqlib/lib/test/test_ofximporter.py (+0/-6)
stoqlib/lib/test/test_parameters.py (+3/-4)
stoqlib/lib/test/test_sintegra.py (+0/-2)
stoqlib/lib/test/test_sintegragenerator.py (+2/-2)
stoqlib/lib/xmlrpc.py (+1/-1)
stoqlib/reporting/product.py (+0/-1)
stoqlib/reporting/purchase.py (+0/-1)
stoqlib/reporting/sale.py (+0/-2)
stoqlib/reporting/template.py (+0/-1)
stoqlib/reporting/tests/test_reporting.py (+7/-7)
stoqlib/test/test_pyflakes.py (+68/-0)
Branch information
Recent revisions
- 4395. By Thiago Bellini
-
Add tests for testing pyflakes. Useful to early find syntax errors
Add tests for testing pyflakes on our main sources (stoq, stoqlib and plugins
at the moment). This is really good and useful for finding syntax problems that
sometimes will be discovered just by the user. Not to say that it's good to
avoid a lot of unnecessary imports. - 4392. By Thiago Bellini
-
Correct 2 test methods names.
* test_runtime had a 'setDown' method. It wasn't really necessary as 'setUp'
has it's logic in it. That's why it didn't interfered in nothing on test,
since the right name for it would be 'tearDown'. Just removing it.
* TestReport's 'setUp' logic was written on 'tearUp'. For that reason, it
wasn't being called and the workaround it tried to apply wasn't working (I
didn't noticed it when I wrote the patch because I had no cache at the
moment, and jenkins never fail on that test). Rename it and everything should
be fine!Maybe we should try to create a pattern on tests. Use 'setUp/setDown' or
'tearUp/tearDown' (I think the second makes more sense) to avoid problems like
that, that happened for distraction and the assumption of a pattern. - 4387. By Thiago Bellini
-
Improvements to pluginmanager
* Improve pluginmanager and IPlugin documentation
* Lots of adjustments to pluginmanager API. Make methods do what they should
do! Also, removing some unneeded methods. The API now do a real distinction
between available/installed/ activated plugins.
* Get pluginmanager using the function 'get_plugin_manager' , instead of
reallying on 'get_utility'. The utility could not have been provided before.
* Add lots of tests! All API should be covered.r=johan
- 4386. By Thiago Bellini
-
Allow user to display and filter products sold by branch categories.
Add a columns (invisible by default) to show products categories on
SoldItemsByBranchSearch. This is useful to do a simple filter for 'products
sold by category'.r=romaia
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~stoq-dev/stoq/master