Skip to content

Commit

Permalink
Modified protocol test. Removed py33 from tox. Updated badges urls
Browse files Browse the repository at this point in the history
  • Loading branch information
satanas committed Mar 10, 2014
1 parent 9dec238 commit c65a178
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=pypy
- TOX_ENV=pep8
- TOX_ENV=docs
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ libturpial
==========

.. image:: https://travis-ci.org/satanas/libturpial.png?branch=development
:target: https://travis-ci.org/satanas/libturpial
:target: https://travis-ci.org/satanas/libturpial

.. image:: https://coveralls.io/repos/satanas/libturpial/badge.png?branch=development
:target: https://coveralls.io/r/satanas/libturpial?branch=development
:target: https://coveralls.io/r/satanas/libturpial?branch=development

**Summary:** A powerful microblogging library written in Python

Expand Down
4 changes: 2 additions & 2 deletions tests/interfaces/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def test_get_int_time(self, monkeypatch):
protocol = Protocol()
protocol.hashtags_url = 'http://hashtags.url.com'

response = protocol.get_int_time("Tue Mar 13 00:12:41 +0000 2007")
assert int(response) == 1173759161
response = int(protocol.get_int_time("Tue Mar 13 00:12:41 +0000 2007"))
assert response == 1173759161

def test_get_entities(self, monkeypatch):
monkeypatch.setattr('libturpial.lib.interfaces.protocol.Protocol.initialize_http', lambda x: None)
Expand Down

0 comments on commit c65a178

Please sign in to comment.