lp:~robru/friends/linkify
- Get this branch:
- bzr branch lp:~robru/friends/linkify
Branch merges
- Ken VanDine: Approve
-
Diff: 176 lines (+116/-3)3 files modifiedfriends/tests/test_protocols.py (+76/-1)
friends/tests/test_twitter.py (+3/-2)
friends/utils/base.py (+37/-0)
Branch information
Recent revisions
- 176. By Robert Bruce Park
-
Automatically linkify URLs that get published to the model.
With massive amounts of test coverage because it turns out that this
is not an easy task. - 175. By Robert Bruce Park
-
Fix packaging to include the necessary test data for this to work.
Previously I was just doing it from the source tree, didn't realize
the packaging was working against me here. - 174. By Robert Bruce Park
-
Dump phony testsuite data into TestModel in --test mode.
This uses a mixture of our existing flickr, facebook, and twitter
sample data, using account_id's 1, 2, and 3 (making it sortable and
filterable for testing purposes).This also moves a lot of the --test logic into friends.
tests.mocks,
because it was growing a little bit out of hand in main.py and also
this made it easier to implement some of the mocks. - 173. By Robert Bruce Park
-
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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:friends