Skip to content

Commit

Permalink
fixes #987
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Apr 26, 2018
1 parent 2102eb8 commit 533af63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/dashboard/tests/test_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_build_github_notification_new_bounty(self):
message = build_github_notification(self.bounty, 'new_bounty')
assert f'__This issue now has a funding of {self.natural_value} {self.bounty.token_name}' in message
assert self.usdt_value in message
assert f'[here]({self.absolute_url})' in message
assert f'This issue now has a funding of' in message
assert f'${self.amount_open_work}' in message

def test_build_github_notification_killed_bounty(self):
Expand All @@ -74,7 +74,7 @@ def test_build_github_notification_increased_bounty(self):
message = build_github_notification(self.bounty, 'increased_bounty')
assert f'__The funding of this issue was increased to {self.natural_value} {self.bounty.token_name}' in message
assert self.usdt_value in message
assert f'This issue now has a funding of' in message
assert f'The funding of this issue was increased' in message
assert f'${self.amount_open_work}' in message

def tearDown(self):
Expand Down

0 comments on commit 533af63

Please sign in to comment.