Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Edit do_tweet test to have no hashtag
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMitchL committed Oct 30, 2016
1 parent f7b7ae3 commit 90b360b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test.py
Expand Up @@ -701,7 +701,8 @@ def test_do_tweet_with_locations(self):
tweet_location = True
variable_location = True
content = 'Just running unit tests, this should disappear... {0}'.format(random.randint(0, 9999))
tweet_content = self.location.name + ': ' + content + weatherBot.CONFIG['basic']['hashtag']
weatherBot.CONFIG['basic']['hashtag'] = ''
tweet_content = self.location.name + ': ' + content
status = weatherBot.do_tweet(content, self.location, tweet_location, variable_location)
self.assertEqual(status.text, tweet_content)
# test destroy
Expand Down

0 comments on commit 90b360b

Please sign in to comment.