Skip to content

Commit

Permalink
removed duplicated test-case
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoepp committed Jun 5, 2015
1 parent fbb0997 commit 9b039fc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/test_tso.py
Expand Up @@ -173,7 +173,7 @@ def test_TSO_geo(self):
tso.set_geocode('foo','bar',10)
except TwitterSearchException as e:
self.assertEqual(e.code, 1004, 'Wrong exception code')

def test_TSO_count(self):
""" Tests TwitterSearchOrder.set_count() """

Expand Down Expand Up @@ -311,21 +311,13 @@ def test_TSO_keywords(self):
self.assertEqual(e.code, 1015, "Wrong exception code")

def test_TSO_add_keyword_OR(self):
"""" Tests TwitterSearchOrder.add_keyword(or_operator) """
""" Tests TwitterSearchOrder.add_keyword(or_operator) """

tso = self.getCopy()
keywords = ("bob","alice")
tso.add_keyword(keywords, or_operator=True)
self.assertTrue("+or+".join(keywords) in tso.create_search_url().lower())

def test_TSO_set_keywords_OR(self):
"""" Tests TwitterSearchOrder.set_keywords(or_operator) """

tso = self.getCopy()
keywords = ("bob","alice")
tso.set_keywords(keywords, or_operator=True)
self.assertTrue("+or+".join(keywords) in tso.create_search_url().lower())

def test_TSO_filters(self):
""" Tests TwitterSearchOrder advanced filtering methods """

Expand Down

0 comments on commit 9b039fc

Please sign in to comment.