lp:~bellini666/stoq/pyflakes_improvements

Created by Thiago Bellini and last modified
Get this branch:
bzr branch lp:~bellini666/stoq/pyflakes_improvements
Only Thiago Bellini can upload to this branch. If you are Thiago Bellini please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thiago Bellini
Project:
Stoq
Status:
Merged

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.

4394. By Thiago Bellini

Add plugins to pyflake make's rule. Correct pyflakes on plugins too.

4393. By Thiago Bellini

Pyflakes corrections.

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.

4391. By Johan Dahlin

Pass in self.wizard to all dialogs created in wizard steps

4390. By Launchpad Translations on behalf of stoq-dev

Launchpad automatic translations update.

4389. By Launchpad Translations on behalf of stoq-dev

Launchpad automatic translations update.

4388. By Launchpad Translations on behalf of stoq-dev

Launchpad automatic translations update.

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
This branch contains Public information 
Everyone can see this information.

Subscribers