-
Committer:
Robert Bruce Park
-
Date:
2013-03-14 19:14:03 UTC
-
Revision ID:
robert.park@canonical.com-20130314191403-5oxy3wqqud8zdnsp
Centralize TestModel creation in friends.utils.mocks.
This reduces a little chunk of redundant code duplication.
This commit also includes a minor unused imports cleanup in the
testsuite thanks to pyflakes.
I also discovered that friends.utils.model.persist_model was untested
thanks to pyflakes, so I wrote a quick test for that.