lp:~robru/friends/tweet-reply
- Get this branch:
- bzr branch lp:~robru/friends/tweet-reply
Branch merges
- Ken VanDine: Approve
-
Diff: 94 lines (+54/-1)3 files modifiedfriends/protocols/twitter.py (+6/-1)
friends/tests/test_twitter.py (+38/-0)
friends/utils/base.py (+10/-0)
Related bugs
Bug #1156829: reply to tweets should prepend @nick automatically | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 176. By Robert Bruce Park
-
Automatically prepend the required @mention to Twitter replies.
Twitter will just think it's a regular tweet without this.
- 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. - 167. By Robert Bruce Park
-
[ Robert Bruce Park ]
* Automatic snapshot from revision 145 (bootstrap)
* Friends re-publishing and re-notifying about stale tweets. (LP:
#1152417)
* The dbus-invocation stuff that just landed broke Twitter's rate
limiter. (LP: #1118878)
[ Ubuntu daily release ]
* Automatic snapshot from revision 160
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:friends